ffmpeg: Support copying unknown streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
33e9473366
commit
18833daf9d
2 changed files with 24 additions and 1 deletions
1
ffmpeg.c
1
ffmpeg.c
|
@ -2822,6 +2822,7 @@ static int transcode_init(void)
|
|||
enc_ctx->width = dec_ctx->width;
|
||||
enc_ctx->height = dec_ctx->height;
|
||||
break;
|
||||
case AVMEDIA_TYPE_UNKNOWN:
|
||||
case AVMEDIA_TYPE_DATA:
|
||||
case AVMEDIA_TYPE_ATTACHMENT:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue