summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-21 00:34:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-21 18:21:38 +0200
commit18833daf9d1b4e380065b107173fba76d7b46067 (patch)
tree16a456c6a8a80ca097ad580e5a1077b960be3ee7 /ffmpeg.c
parent33e9473366074ee92eecec5f5719734e4a6b4b79 (diff)
ffmpeg: Support copying unknown streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index a89ae399bf..da3ab911f1 100644
--- a/ffmpeg.c
+++ b/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;