[FFmpeg-cvslog] ffmpeg: remove pointless avcodec_get_frame_defaults().
Clément Bœsch
git at videolan.org
Tue Feb 14 00:12:55 CET 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Feb 13 23:23:15 2012 +0100| [c214e986347447b011790fa2b874016bf1d558ae] | committer: Clément Bœsch
ffmpeg: remove pointless avcodec_get_frame_defaults().
filtered_frame is overwritten just below anyway.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c214e986347447b011790fa2b874016bf1d558ae
---
ffmpeg.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 03bcccd..0cb9ba1 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) {
More information about the ffmpeg-cvslog
mailing list