diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-29 18:46:06 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-31 16:27:33 +0200 |
commit | a9c69362ea930b15cc42fa9f25c5201d370ff156 (patch) | |
tree | 487bd59a877399fc4e42602feda99c6708c29a0c /libavfilter | |
parent | 6da590d0a5024e0624aede379d29467f194cacb0 (diff) | |
download | ffmpeg-a9c69362ea930b15cc42fa9f25c5201d370ff156.tar.gz |
vsink_buffer: fix void pointer dereference in av_vsink_buffer_get_video_buffer_ref()
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsink_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsink_buffer.c b/libavfilter/vsink_buffer.c index e0f03344f5..52e362e672 100644 --- a/libavfilter/vsink_buffer.c +++ b/libavfilter/vsink_buffer.c @@ -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); |