]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vsink_buffer.c
av_string: add av_asprintf().
[ffmpeg] / libavfilter / vsink_buffer.c
index e0f03344f55c4b58c3a436738541da844661cf6e..52e362e6726c8bb89fd8b431da868c871d8e425d 100644 (file)
@@ -114,7 +114,7 @@ int av_vsink_buffer_get_video_buffer_ref(AVFilterContext *ctx,
         return AVERROR(EINVAL);
 
     if (flags & AV_VSINK_BUF_FLAG_PEEK)
-        *picref = (AVFilterBufferRef *)av_fifo_peek2(buf->fifo, 0);
+        *picref = *((AVFilterBufferRef **)av_fifo_peek2(buf->fifo, 0));
     else
         av_fifo_generic_read(buf->fifo, picref, sizeof(*picref), NULL);