diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-17 01:38:09 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-19 12:23:59 +0200 |
commit | 6a46aab49b68a79973dfa86f0966c081fc807961 (patch) | |
tree | eee76ecee749ad52e972d105baba5df236126d04 | |
parent | dfc6f5ae9038a73f6cedc125b01c95124cb0f102 (diff) | |
download | ffmpeg-6a46aab49b68a79973dfa86f0966c081fc807961.tar.gz |
ffmpeg: prefer "dec" over "ist->st->codec" in do_video_out() snippet
Simplify, ease readability.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1195,8 +1195,8 @@ static void do_video_out(AVFormatContext *s, av_log(NULL, AV_LOG_INFO, "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n", ist->file_index, ist->index, - ost->resample_width , ost->resample_height , avcodec_get_pix_fmt_name(ost->resample_pix_fmt), - ist->st->codec->width, ist->st->codec->height, avcodec_get_pix_fmt_name(ist->st->codec->pix_fmt)); + ost->resample_width, ost->resample_height, avcodec_get_pix_fmt_name(ost->resample_pix_fmt), + dec->width , dec->height , avcodec_get_pix_fmt_name(dec->pix_fmt)); if(!ost->video_resample) ffmpeg_exit(1); } |