Browse Source

ffmpeg: remove pointless avcodec_get_frame_defaults().

filtered_frame is overwritten just below anyway.
tags/n0.11
Clément Bœsch 14 years ago
parent
commit
c214e98634
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      ffmpeg.c

+ 0
- 1
ffmpeg.c View File

@@ -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) {


Loading…
Cancel
Save