[FFmpeg-trac] #10732(undetermined:new): avcodec_flush_buffers() not resetting E-AC-3 decoder
FFmpeg
trac at avcodec.org
Thu Feb 6 16:53:57 EET 2025
#10732: avcodec_flush_buffers() not resetting E-AC-3 decoder
-------------------------------------+-------------------------------------
Reporter: Peter | Owner: (none)
Krefting |
Type: defect | Status: new
Priority: minor | Component:
| undetermined
Version: 6.1 | Resolution:
Keywords: eac3 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by 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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10732#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list