summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-23 18:37:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-23 18:37:23 +0000
commit79a5b35c05cfa3c269560069ba142a0d7dc4bacc (patch)
tree2454da55d38c348ad6849010925980419c10fd06 /libavformat/avidec.c
parenta44b3c4da859efacddca3a58ecbc6ad477b929ed (diff)
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
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c4
1 files changed, 0 insertions, 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;