#10732: avcodec_flush_buffers() not resetting E-AC-3 decoder -------------------------------------+------------------------------------- Reporter: Peter | Owner: (none) Krefting | Type: defect | Status: open Priority: minor | Component: avcodec Version: git-master | Resolution: Keywords: eac3 | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by James):
* analyzed: 0 => 1 * component: undetermined => avcodec * reproduced: 0 => 1 * status: new => open * version: 6.1 => git-master Comment: Replying to [comment:9 Peter Krefting]: > I am now in the process of updating the source tree (to ffmpeg 7.1). I applied the patch from comment:5. With the patch, the tester program now crashes with a segmentation fault inside av3_decode_flush(). Adding an `if (s)` around the memset() invocation is not enough to rectify this, unfortunately. > > To compile the tester with 7.1, I replaced `frame->channels` with `frame->ch_layout.nb_channels` (two places), otherwise the code is as in the description above. Oh, i see where i messed up. I sent a fixed version to the mailing list. Can you test it? It's in https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13875 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10732#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".