aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-20 13:13:09 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-11 07:32:37 +0200
commit3fd62c6e247468d792ce8f1d3c458017d1ea9eb5 (patch)
tree711c7e99727124e3ce247deb1b2e7954b43f9429 /libavformat/rtspdec.c
parent2b95602e93226bd269676b0edcda5322b5be8444 (diff)
downloadffmpeg-3fd62c6e247468d792ce8f1d3c458017d1ea9eb5.tar.gz
ffmpeg: call pre_process_video_frame() only if decoding is needed
In output_packet(), move the pre_process_video_frame() call inside the if (ist->decoding_needed) { } block. This way pre_process_video_frame() is not called when stream-copy has been selected. Also simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/rtspdec.c')
0 files changed, 0 insertions, 0 deletions