Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -512,10 +512,7 @@ static int h261_decode_picture_header(H261DecContext *h) · 511 unmodified lines | ||
| 512 | 512 | } |
| 513 | 513 | |
| 514 | 514 | /* temporal reference */ |
| 515 | − i = get_bits(&s->gb, 5); /* picture timestamp */ | |
| 516 | − if (i < (s->picture_number & 31)) | |
| 517 | − i += 32; | |
| 518 | − s->picture_number = (s->picture_number & ~31) + i; | |
| 515 | + skip_bits(&s->gb, 5); /* picture timestamp */ | |
| 519 | 516 | |
| 520 | 517 | s->avctx->framerate = (AVRational) { 30000, 1001 }; |
| 521 | 518 | |