[FFmpeg-trac] #420(undetermined:new): Sound fragments after seeking

FFmpeg trac at avcodec.org
Sun Nov 20 23:54:47 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 michael):

 Ive failed to find a good testcase for this but
 you could try something like: (in aacdec.c)
 {{{
 static void flush(AVCodecContext *avctx)
 {
     AACContext *ac= avctx->priv_data;
     int type, i, ch;

     for (type = 3; type >= 0; type--) {
         for (i = 0; i < MAX_ELEM_ID; i++) {
             ChannelElement *che = ac->che[type][i];
             if (che) {
                 memset(che, 0, sizeof(*che));
             }
         }
     }
 }
 ...
 .flush          = flush,
 }}}
 and if it works find out which fields actually need to be reset, id be
 happy to apply a patch that would fix this

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/420#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list