diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-03-16 20:22:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-16 20:22:22 +0000 |
commit | b536d0aad2750d3a5f24520fccf1e48a46cad53b (patch) | |
tree | ef8d69520065d3c1009481e77b0ff8fd64b58959 /libavcodec/svq1.c | |
parent | 1c6dcb0f420c747b263d5c17641ae9c216c2e9de (diff) | |
download | ffmpeg-b536d0aad2750d3a5f24520fccf1e48a46cad53b.tar.gz |
field pic decoding cleanup
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r-- | libavcodec/svq1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index ab2f8e855f..dbebde0f7d 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -1126,7 +1126,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, //FIXME this avoids some confusion for "B frames" without 2 references //this should be removed after libavcodec can handle more flaxible picture types & ordering - if(s->pict_type==B_TYPE && s->last_picture.data[0]==NULL) return buf_size; + if(s->pict_type==B_TYPE && s->last_picture_ptr==NULL) return buf_size; if(avctx->hurry_up && s->pict_type==B_TYPE) return buf_size; |