summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c2
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;