[FFmpeg-cvslog] avconv: drop a now useless variable
Anton Khirnov
git at videolan.org
Mon Oct 28 10:53:46 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Oct 27 08:42:05 2013 +0100| [ddc589ce98c2bba1e59318b5b0224717325eac46] | committer: Anton Khirnov
avconv: drop a now useless variable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddc589ce98c2bba1e59318b5b0224717325eac46
---
avconv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/avconv.c b/avconv.c
index 7351b77..0c0f3bf 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;
}
More information about the ffmpeg-cvslog
mailing list