Mercurial > libavcodec.hg
comparison mpegaudiodec.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 | 1e5f64be86fc |
children | ce35fd27bbb0 |
comparison
equal
deleted
inserted
replaced
312:8cf5507e6ca5 | 313:a0124152c89d |
---|---|
2312 } else { | 2312 } else { |
2313 /* update codec info */ | 2313 /* update codec info */ |
2314 avctx->sample_rate = s->sample_rate; | 2314 avctx->sample_rate = s->sample_rate; |
2315 avctx->channels = s->nb_channels; | 2315 avctx->channels = s->nb_channels; |
2316 avctx->bit_rate = s->bit_rate; | 2316 avctx->bit_rate = s->bit_rate; |
2317 avctx->frame_size = s->frame_size; | |
2317 } | 2318 } |
2318 } | 2319 } |
2319 } | 2320 } |
2320 } else if (s->frame_size == -1) { | 2321 } else if (s->frame_size == -1) { |
2321 /* free format : find next sync to compute frame size */ | 2322 /* free format : find next sync to compute frame size */ |