diff svq1.c @ 1138:e10e841c9bf0 libavcodec

field pic decoding cleanup
author michaelni
date Sun, 16 Mar 2003 20:22:22 +0000
parents 1e39f273ecd6
children 8988af3ae1e8
line wrap: on
line diff
--- a/svq1.c	Sat Mar 15 20:47:09 2003 +0000
+++ b/svq1.c	Sun Mar 16 20:22:22 2003 +0000
@@ -1126,7 +1126,7 @@
   
   //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;