From 79a5b35c05cfa3c269560069ba142a0d7dc4bacc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 23 Jan 2007 18:37:23 +0000 Subject: [PATCH] remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from http://www.albx79.it/stuff/ playable other players arent that picky either ... Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avidec.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 276689dd5c..273c20b449 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -654,10 +654,6 @@ resync: if(!ast->remaining){ avi->stream_index= -1; ast->packet_size= 0; - if (size & 1) { - get_byte(pb); - size++; - } } return size;