aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/truemotion1.c
diff options
context:
space:
mode:
authorSam Hocevar <sam@hocevar.net>2016-10-24 00:12:00 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-11-23 03:28:04 +0100
commit3115550abe96de674dac42f02a0b464e137bfc20 (patch)
tree85967208c3c49f696a8a20863e10464c25de1653 /libavcodec/truemotion1.c
parent69f7dd3524d92bd24804a23ede2ecaf8ce4bf3c1 (diff)
downloadffmpeg-3115550abe96de674dac42f02a0b464e137bfc20.tar.gz
doc/examples/muxing: Fix av_frame_make_writable usage
This patch moves the av_frame_make_writable() call from fill_yuv_image to get_video_frame so that its argument can be the actual frame that will be sent to the encoder. This fixes data corruption issues in codecs that keep references on one or several previous frames. Signed-off-by: Sam Hocevar <sam@hocevar.net> Reviewed-by: wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/truemotion1.c')
0 files changed, 0 insertions, 0 deletions