From: Michael Niedermayer Date: Tue, 23 Jan 2007 18:37:23 +0000 (+0000) Subject: remove padding to 16bit code, i dont think this change can break anything and it... X-Git-Tag: v0.5~10391 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=79a5b35c05cfa3c269560069ba142a0d7dc4bacc;p=coroid%2Flibav_saccubus.git remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from albx79.it/stuff/ playable other players arent that picky either ... Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 276689dd5..273c20b44 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;