[FFmpeg-devel] AV Codec Context -> get_format

Ratin ratin3 at gmail.com
Tue Jan 29 04:50:10 CET 2013


Hi all, Is it normal to get to this far (a segfault is happenning in
pred8x8_128_dc_8_c ) before  avctx->get_format first get a called ? I am
suspecting the overloaded function pointer is not getting called which is
the source of this crash. I am using VAAPI to do the decode.


#0  0x00007fff973f4c89 in pred8x8_128_dc_8_c (_src=0x0, stride=0) at
libavcodec/h264pred_template.c:553
#1  0x00007fff9730aa6a in hl_decode_mb_simple_8 (h=0x7fffe81c18e0) at
libavcodec/h264_mb_template.c:162
#2  0x00007fff9734c2a9 in ff_h264_hl_decode_mb (h=0x7fffe81c18e0) at
libavcodec/h264.c:2006
#3  0x00007fff97355399 in decode_slice (avctx=0x7fffe8240900,
arg=0x7fff95f0dc48) at libavcodec/h264.c:3743
#4  0x00007fff97355bf4 in execute_decode_slices (h=0x7fffe81c18e0,
context_count=1) at libavcodec/h264.c:3894
#5  0x00007fff97356e17 in decode_nal_units (h=0x7fffe81c18e0,
buf=0x7fff7c001400 "", buf_size=2311, parse_extradata=0) at
libavcodec/h264.c:4236
#6  0x00007fff97357340 in decode_frame (avctx=0x7fffe8240900,
data=0x7fffe8228f00, got_frame=0x7fffe8229108, avpkt=0x7fffe8228ea0) at
libavcodec/h264.c:4348
#7  0x00007fff97530bea in frame_worker_thread (arg=0x7fffe8228da0) at
libavcodec/pthread.c:390
#8  0x00007ffff53d8f9f in start_thread (arg=0x7fff95f0e700) at
pthread_create.c:311
#9  0x00007ffff51060cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:114


Any input will be appreciated.. thanks

Ratin


More information about the ffmpeg-devel mailing list