diff h264.h @ 11791:51abd780bda6 libavcodec

Cleanup prev commit, flag variable should start with 0
author hyc
date Fri, 28 May 2010 20:14:14 +0000
parents f918fb753b31
children fdafbcef52f5
line wrap: on
line diff
--- a/h264.h	Fri May 28 18:50:39 2010 +0000
+++ b/h264.h	Fri May 28 20:14:14 2010 +0000
@@ -464,8 +464,8 @@
      */
     int is_avc; ///< this flag is != 0 if codec is avc1
     int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4)
+    int got_first; ///< this flag is != 0 if we've parsed a frame
 
-    int first_picture;
     SPS *sps_buffers[MAX_SPS_COUNT];
     PPS *pps_buffers[MAX_PPS_COUNT];