Vladimir Pantelic wrote:
mashiat.sar...@gmail.com wrote:
On 01/09/2013 10:16 AM, Vladimir Pantelic wrote:
see $subject

this prevents lavc to crash on one VC1 interlaced sample that I have.
the sample still does not play correctly though.

I can haz the sample?

of course :)

uploaded to upload.libav.org

VC1_interlaced_crash/VC1_interlaced_1080i60_with_artifacts_crashes.[mkv|txt]

gdb:

(gdb) r VC1_interlaced_1080i60_with_artifacts.mkv
Starting program: /usr/bin/avplay VC1_interlaced_1080i60_with_artifacts.mkv
[Thread debugging using libthread_db enabled]
avplay version v9_beta3-66-g53c25ee, Copyright (c) 2003-2013 the Libav 
developers
  built on Jan  3 2013 15:51:47 with gcc 4.3 (SUSE Linux)
[New Thread 0xb6b49b90 (LWP 5078)]
[New Thread 0xb62d3b90 (LWP 5079)]
[vc1 @ 0x80ac580] Interlaced frames/fields support is incomplete
Input #0, matroska,webm, from 'VC1_interlaced_1080i60_with_artifacts.mkv':
  Metadata:
    title           : La Traviata (2007)
  Duration: 00:01:31.48, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 91.489000
    Metadata:
      title           : 00:00:00.000
Stream #0.0: Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0.1(eng): Audio: dca (DTS-HD HRA), 48000 Hz, 5.1, fltp, 1536 kb/s 
(default)
    Stream #0.2(eng): Subtitle: pgssub
[New Thread 0xb5a92b90 (LWP 5080)]
[New Thread 0xb5292b90 (LWP 5081)]
[New Thread 0xb4a92b90 (LWP 5082)]
[New Thread 0xb4292b90 (LWP 5086)]
[vc1 @ 0x80ac580] Interlaced frames/fields support is incomplete
[matroska,webm @ 0x80ac0c0] Read error 311KB vq=  950KB sq=    0B f=0/0
[vc1 @ 0x80ac580] concealing 0 DC, 0 AC, 0 MV errors   0B f=0/0   f=0/0
   0.98 A-V: -0.023 s:0.0 aq=  497KB vq= 9022KB sq=    0B f=0/0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5292b90 (LWP 5081)]
0xb7659cdc in vc1_decode_p_mb_intfr (v=0x80fb8a0) at libavcodec/vc1dec.c:1164
1164                *pred_flag = index1 & 1;


pred_flag is 0


(gdb) bt
#0  0xb7659cdc in vc1_decode_p_mb_intfr (v=0x80fb8a0) at 
libavcodec/vc1dec.c:1164
#1  0xb765b187 in vc1_decode_p_blocks (v=0x80fb8a0) at libavcodec/vc1dec.c:4628
#2  0xb7663854 in ff_vc1_decode_blocks (v=0x80fb8a0) at libavcodec/vc1dec.c:4763
#3 0xb7667800 in vc1_decode_frame (avctx=0x80ac580, data=0x80b2100, got_frame=0xb5292370, avpkt=0xb5292298) at libavcodec/vc1dec.c:5614 #4 0xb7637c0b in avcodec_decode_video2 (avctx=0x80ac580, picture=0x780, got_picture_ptr=0xb5292370, avpkt=0xb5292298) at libavcodec/utils.c:1283
#5  0x08050c73 in video_thread (arg=0xb62d4020) at avplay.c:1484
#6  0xb71301bb in ?? () from /usr/lib/libSDL-1.2.so.0
#7  0xb717e81d in ?? () from /usr/lib/libSDL-1.2.so.0
#8  0xb710e030 in start_thread () from /lib/libpthread.so.0
#9  0xb707e8fe in clone () from /lib/libc.so.6

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to