diff common.c @ 264:28c5c62b1c4c libavcodec

support decoding (with mplayer) of 3 .mp4 files from mphq optimize h263_pred_motion()
author michaelni
date Wed, 13 Mar 2002 19:26:38 +0000
parents 99a9f903f0e3
children 5cb2978e701f
line wrap: on
line diff
--- a/common.c	Wed Mar 13 12:50:41 2002 +0000
+++ b/common.c	Wed Mar 13 19:26:38 2002 +0000
@@ -201,6 +201,14 @@
 #endif
 }
 
+int check_marker(GetBitContext *s, char *msg)
+{
+    int bit= get_bits1(s);
+    if(!bit) printf("Marker bit missing %s\n", msg);
+
+    return bit;
+}
+
 #ifndef ALT_BITSTREAM_READER
 /* This function is identical to get_bits_long(), the */
 /* only diference is that it doesn't touch the buffer */