summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnshul Maheshwari <anshul.ffmpeg@gmail.com>2015-01-16 02:19:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-16 02:52:04 +0100
commitbb0344dc5582829253cc300a94fab29fb1f63f40 (patch)
tree4ead2cbf8387db5a0433d67b531cd44c62446fbd /ffmpeg.c
parenta47c9331ef13c4af01de582f159ac6e59fe990ed (diff)
ffmpeg: improve data stream support
This adds data codec/stream handling where previously there was only audio/video/subtitles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c283c96cfb..2a9fe43bb7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2911,6 +2911,8 @@ static int transcode_init(void)
enc_ctx->height = input_streams[ost->source_index]->st->codec->height;
}
break;
+ case AVMEDIA_TYPE_DATA:
+ break;
default:
abort();
break;