comparison mpeg12.c @ 313:a0124152c89d libavcodec

- Added force_pts to av_write_packet() to be able to force PTS, this helps (and fix) stream copying. By now force_pts it's just honoured by the MPEG muxer. ASF could honour this also, but it should be fixed to use Tickers first. - MPEG audio decoder exports it's frame size in bytes. - Hope this fix the floating point exception found in ffserver.
author pulento
date Sun, 07 Apr 2002 21:44:29 +0000
parents 1de85b419387
children 9f6071a87e17
comparison
equal deleted inserted replaced
312:8cf5507e6ca5 313:a0124152c89d
1401 skip_bits(&s->gb, 8); 1401 skip_bits(&s->gb, 8);
1402 } 1402 }
1403 1403
1404 for(;;) { 1404 for(;;) {
1405 clear_blocks(s->block[0]); 1405 clear_blocks(s->block[0]);
1406 emms_c();
1406 ret = mpeg_decode_mb(s, s->block); 1407 ret = mpeg_decode_mb(s, s->block);
1407 dprintf("ret=%d\n", ret); 1408 dprintf("ret=%d\n", ret);
1408 if (ret < 0) 1409 if (ret < 0)
1409 return -1; 1410 return -1;
1410 if (ret == 1) 1411 if (ret == 1)