Mercurial > libavformat.hg
comparison avidec.c @ 1721:650d81b4b199 libavformat
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 ...
author | michael |
---|---|
date | Tue, 23 Jan 2007 18:37:23 +0000 |
parents | a7508607760c |
children | 9d217a18aa49 |
comparison
equal
deleted
inserted
replaced
1720:1a8d1f66c867 | 1721:650d81b4b199 |
---|---|
652 } | 652 } |
653 ast->remaining -= size; | 653 ast->remaining -= size; |
654 if(!ast->remaining){ | 654 if(!ast->remaining){ |
655 avi->stream_index= -1; | 655 avi->stream_index= -1; |
656 ast->packet_size= 0; | 656 ast->packet_size= 0; |
657 if (size & 1) { | |
658 get_byte(pb); | |
659 size++; | |
660 } | |
661 } | 657 } |
662 | 658 |
663 return size; | 659 return size; |
664 } | 660 } |
665 | 661 |