summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 96651ef69e..817eec30c1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1908,7 +1908,7 @@ static int av_encode(AVFormatContext **output_files,
if (ost->encoding_needed) {
AVCodec *codec = output_codecs[i];
if (!codec)
- codec = avcodec_find_encoder(ost->st->codec->codec_id);
+ codec = avcodec_find_encoder(ost->st->codec->codec_id);
if (!codec) {
fprintf(stderr, "Unsupported codec for output stream #%d.%d\n",
ost->file_index, ost->index);
@@ -1929,7 +1929,7 @@ static int av_encode(AVFormatContext **output_files,
if (ist->decoding_needed) {
AVCodec *codec = input_codecs[i];
if (!codec)
- codec = avcodec_find_decoder(ist->st->codec->codec_id);
+ codec = avcodec_find_decoder(ist->st->codec->codec_id);
if (!codec) {
fprintf(stderr, "Unsupported codec (id=%d) for input stream #%d.%d\n",
ist->st->codec->codec_id, ist->file_index, ist->index);