diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-02-07 11:49:53 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-02-10 20:12:52 +0100 |
commit | cf31060127f486400219d93d67199fdc93b7b77d (patch) | |
tree | 7d1a1ec16717cbfecb9656e2da0085cb86e3a7a2 | |
parent | aede21f1b6c7f6168e7b6694d30d6bc8c5c81b20 (diff) | |
download | ffmpeg-cf31060127f486400219d93d67199fdc93b7b77d.tar.gz |
ffmpeg: move filtered_frame to video stream processing scope.
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2050,7 +2050,7 @@ static int transcode_audio(InputStream *ist, AVPacket *pkt, int *got_output) static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int64_t *pkt_pts) { - AVFrame *decoded_frame, *filtered_frame = NULL; + AVFrame *decoded_frame; void *buffer_to_free = NULL; int i, ret = 0; float quality = 0; @@ -2119,6 +2119,7 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int rate_emu_sleep(ist); for (i = 0; i < nb_output_streams; i++) { + AVFrame *filtered_frame = NULL; OutputStream *ost = &output_streams[i]; int frame_size; |