aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-09 23:21:01 +0100
committerMans Rullgard <mans@mansr.com>2011-10-09 23:28:54 +0100
commit581810f5024dbb9df8e794dc0f5beac30d3a5fd4 (patch)
treef6f3841d91c773e9311d8f9c87de5b08c216ebb3
parentaa498fef0dbd6eebd1b4dd90c36d3117cd9a17b2 (diff)
downloadffmpeg-581810f5024dbb9df8e794dc0f5beac30d3a5fd4.tar.gz
mpeg4dec: use unsigned type for startcode in ff_mpeg4_decode_picture_header
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavcodec/mpeg4videodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 0d061acfb9..cd7de73c98 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -2101,7 +2101,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){
*/
int ff_mpeg4_decode_picture_header(MpegEncContext * s, GetBitContext *gb)
{
- int startcode, v;
+ unsigned startcode, v;
/* search next start code */
align_get_bits(gb);