[FFmpeg-trac] #5781(undetermined:new): avcodec_send_packet() fails with m4a files when AVCodecContext is created with avcodec_alloc_context3()
FFmpeg
trac at avcodec.org
Mon Aug 15 23:33:42 EEST 2016
#5781: avcodec_send_packet() fails with m4a files when AVCodecContext is created
with avcodec_alloc_context3()
-------------------------------------+-------------------------------------
Reporter: patacca | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by jamrial):
Looks like they are not copying codec parameters from the
AVStream.AVCodecParameters struct to the avcodec_alloc_context3 allocated
context before calling avcodec_open2.
The function avcodec_parameters_to_context should be used for this
purpose.
Can't really test but it could be the source of the problem.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5781#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list