ffmpeg: Fix encoder names in printout
[ffmpeg.git] / ffmpeg.c
index 282f58f..501af29 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2841,6 +2841,7 @@ static int transcode_init(void)
                    "Error initializing the output stream codec context.\n");
             exit_program(1);
         }
+        ost->st->codec->codec= ost->enc_ctx->codec;
     }
 
     /* init input streams */