Mercurial > libavcodec.hg
changeset 12028:2caea98f5711 libavcodec
Do not skip one of three bits zero padding.
Patch by Daniel Kristjansson, danielk cuymedia net
| author | cehoyos |
|---|---|
| date | Wed, 30 Jun 2010 21:46:03 +0000 |
| parents | 0bf266c3cd37 |
| children | 934968bd410d |
| files | mpeg12.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Wed Jun 30 21:45:51 2010 +0000 +++ b/mpeg12.c Wed Jun 30 21:46:03 2010 +0000 @@ -1440,7 +1440,7 @@ w= get_bits(&s->gb, 14); skip_bits(&s->gb, 1); //marker h= get_bits(&s->gb, 14); - skip_bits(&s->gb, 1); //marker + // remaining 3 bits are zero padding s1->pan_scan.width= 16*w; s1->pan_scan.height=16*h;
