summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-02-13 23:23:15 +0100
committerClément Bœsch <ubitux@gmail.com>2012-02-13 23:32:39 +0100
commitc214e986347447b011790fa2b874016bf1d558ae (patch)
tree839c02c889fad6b10070f076dfde4552d6e3a232 /ffmpeg.c
parent73413e6bcab34ef8509a014403718237f0f8aa45 (diff)
ffmpeg: remove pointless avcodec_get_frame_defaults().
filtered_frame is overwritten just below anyway.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 03bcccd81d..0cb9ba1d1b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2139,7 +2139,6 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int
ret = AVERROR(ENOMEM);
goto end;
}
- avcodec_get_frame_defaults(ist->filtered_frame);
filtered_frame = ist->filtered_frame;
*filtered_frame= *decoded_frame; //for me_threshold
if (ost->picref) {