Browse Source

vsink_buffer: fix void pointer dereference in av_vsink_buffer_get_video_buffer_ref()

tags/n0.9
Stefano Sabatini 13 years ago
parent
commit
a9c69362ea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vsink_buffer.c

+ 1
- 1
libavfilter/vsink_buffer.c View 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);



Loading…
Cancel
Save