[FFmpeg-devel] [PATCH] ffserver: Use avcodec_copy_context instead of manually copying a context

Martin Storsjö martin
Mon Jun 21 10:40:36 CEST 2010


This makes ffserver use avcodec_copy_context at once place instead of 
manually memcpying it and copying extradata separately. This fixes an 
issue where rc_eq in the copy pointed to a string owned by the source 
AVCodecContext, and which was later free'd when the original context was 

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffserver-Use-avcodec_copy_context-instead-of-manuall.patch
Type: text/x-diff
Size: 1252 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100621/53a9e9db/attachment.patch>

More information about the ffmpeg-devel mailing list