aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/common.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-13 19:26:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-13 19:26:38 +0000
commit49c9325f56a3d4cc239fb5c4dcaf73a9465b0609 (patch)
tree1036a4250a49df59cfe632246563cf3e91345799 /libavcodec/common.c
parent10cd581572012f9d1f3d2610673d1b5021c8dfc7 (diff)
downloadffmpeg-49c9325f56a3d4cc239fb5c4dcaf73a9465b0609.tar.gz
support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion() Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.c')
-rw-r--r--libavcodec/common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/common.c b/libavcodec/common.c
index 6422236d38..a4034b7cc2 100644
--- a/libavcodec/common.c
+++ b/libavcodec/common.c
@@ -201,6 +201,14 @@ void align_get_bits(GetBitContext *s)
#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 */