summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 08:42:05 +0100
committerAnton Khirnov <anton@khirnov.net>2013-10-27 21:32:37 +0100
commitddc589ce98c2bba1e59318b5b0224717325eac46 (patch)
tree867176a020cc913db1d08a147829d4abc2d6a835 /avconv.c
parent529a9893d769f381b72785c500662be2020da5fe (diff)
avconv: drop a now useless variable
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/avconv.c b/avconv.c
index 7351b7757f..0c0f3bf1cf 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1142,7 +1142,6 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output)
static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
{
AVFrame *decoded_frame, *f;
- void *buffer_to_free = NULL;
int i, ret = 0, err = 0, resample_changed;
if (!ist->decoded_frame && !(ist->decoded_frame = av_frame_alloc()))
@@ -1210,7 +1209,6 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
av_frame_unref(ist->filter_frame);
av_frame_unref(decoded_frame);
- av_free(buffer_to_free);
return err < 0 ? err : ret;
}