Mercurial > libavcodec.hg
comparison mpeg12.c @ 6372:48a6bbc1c633 libavcodec
Reduce the number of senselessly scanned bytes.
author | michael |
---|---|
date | Tue, 19 Feb 2008 15:55:14 +0000 |
parents | 0ed0d9d578ad |
children | 464938b9c2b0 |
comparison
equal
deleted
inserted
replaced
6371:f1d701294a89 | 6372:48a6bbc1c633 |
---|---|
1867 } | 1867 } |
1868 } | 1868 } |
1869 } | 1869 } |
1870 } | 1870 } |
1871 eos: // end of slice | 1871 eos: // end of slice |
1872 *buf += get_bits_count(&s->gb)/8 - 1; | 1872 *buf += (get_bits_count(&s->gb)-1)/8; |
1873 //printf("y %d %d %d %d\n", s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y); | 1873 //printf("y %d %d %d %d\n", s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y); |
1874 return 0; | 1874 return 0; |
1875 } | 1875 } |
1876 | 1876 |
1877 static int slice_decode_thread(AVCodecContext *c, void *arg){ | 1877 static int slice_decode_thread(AVCodecContext *c, void *arg){ |