[FFmpeg-trac] #420(undetermined:new): Sound fragments after seeking
FFmpeg
trac at avcodec.org
Fri Nov 25 18:49:38 CET 2011
#420: Sound fragments after seeking
-------------------------------------+-------------------------------------
Reporter: kaptnole | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 1 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by kaptnole):
Its the "saved" field, the following works:
{{{
static void flush(AVCodecContext *avctx)
{
AACContext *ac= avctx->priv_data;
int type, i, j;
for (type = 3; type >= 0; type--) {
for (i = 0; i < MAX_ELEM_ID; i++) {
ChannelElement *che = ac->che[type][i];
if (che) {
for (j = 0; j <= 1; j++) {
// memset(che->ch[j].coeffs, 0,
sizeof(che->ch[j].coeffs));
memset(che->ch[j].saved, 0, sizeof(che->ch[j].saved));
}
}
}
}
}
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/420#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list