[FFmpeg-soc] [soc]: r1871 - libavfilter/diffs/04_ffmpeg_filters.diff

vitor subversion at mplayerhq.hu
Sat Feb 9 17:58:18 CET 2008


Author: vitor
Date: Sat Feb  9 17:58:18 2008
New Revision: 1871

Log:
ffmpeg.c needs write access to the frame it allocs.
Suggested by Bobby Bingham.


Modified:
   libavfilter/diffs/04_ffmpeg_filters.diff

Modified: libavfilter/diffs/04_ffmpeg_filters.diff
==============================================================================
--- libavfilter/diffs/04_ffmpeg_filters.diff	(original)
+++ libavfilter/diffs/04_ffmpeg_filters.diff	Sat Feb  9 17:58:18 2008
@@ -78,7 +78,7 @@ Index: ffmpeg.c
 +
 +    /* This picture will be needed unmodified later for decoding the next
 +     * frame */
-+    picref = avfilter_get_video_buffer(link, AV_PERM_PRESERVE |
++    picref = avfilter_get_video_buffer(link, AV_PERM_WRITE | AV_PERM_PRESERVE |
 +                                             AV_PERM_REUSE2);
 +
 +    memcpy(picref->data,     priv->ist->filter_frame->data,



More information about the FFmpeg-soc mailing list