[FFmpeg-devel] [PATCH 2/2] ffmpeg: stop using AVStream.codec on stream copy

James Almer jamrial at gmail.com
Tue Sep 27 16:45:39 EEST 2016


On 9/26/2016 10:28 PM, Michael Niedermayer wrote:
> On Mon, Sep 26, 2016 at 08:06:47PM -0300, James Almer wrote:
>> This commit is based on commit 35c8580 from Anton Khirnov <anton at khirnov.net>
>> which was skipped in b8945c4.
>>
>> The avcodec_copy_context() call in the encode path is left in place for now
>> as AVStream.codec is apparently still required even after porting ffmpeg to
>> the new bsf API.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  ffmpeg.c     | 25 ++++++++++++-------------
>>  ffmpeg.h     |  1 +
>>  ffmpeg_opt.c |  3 +++
>>  3 files changed, 16 insertions(+), 13 deletions(-)
> 
> Tested-by: Michael

Applied, thanks.



More information about the ffmpeg-devel mailing list