Mercurial > libavcodec.hg
comparison h264.c @ 8441:f97c423dcb7f libavcodec
100l, I broke H.264 again, forgot one hunk.
Thanks to FATE for finding it.
author | michael |
---|---|
date | Tue, 23 Dec 2008 01:11:56 +0000 |
parents | 649ce1b30344 |
children | cf81cdbf8ca9 |
comparison
equal
deleted
inserted
replaced
8440:649ce1b30344 | 8441:f97c423dcb7f |
---|---|
1400 /* startcode, so we must be past the end */ | 1400 /* startcode, so we must be past the end */ |
1401 length=i; | 1401 length=i; |
1402 } | 1402 } |
1403 break; | 1403 break; |
1404 } | 1404 } |
1405 i-= RS; | |
1405 } | 1406 } |
1406 | 1407 |
1407 if(i>=length-1){ //no escaped 0 | 1408 if(i>=length-1){ //no escaped 0 |
1408 *dst_length= length; | 1409 *dst_length= length; |
1409 *consumed= length+1; //+1 for the header | 1410 *consumed= length+1; //+1 for the header |