Mercurial > libavformat.hg
changeset 3867:7c72855fd8bc libavformat
Fix detection of MPEG4 in MPEG-PS.
Fixes issue568.
author | michael |
---|---|
date | Tue, 02 Sep 2008 15:33:57 +0000 |
parents | f55b5e474321 |
children | ea1573187fb8 |
files | utils.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Mon Sep 01 17:20:49 2008 +0000 +++ b/utils.c Tue Sep 02 15:33:57 2008 +0000 @@ -362,6 +362,9 @@ } else if (!strcmp(fmt->name, "mpegvideo")) { st->codec->codec_id = CODEC_ID_MPEG2VIDEO; st->codec->codec_type = CODEC_TYPE_VIDEO; + } else if (!strcmp(fmt->name, "m4v")) { + st->codec->codec_id = CODEC_ID_MPEG4; + st->codec->codec_type = CODEC_TYPE_VIDEO; } else if (!strcmp(fmt->name, "h264")) { st->codec->codec_id = CODEC_ID_H264; st->codec->codec_type = CODEC_TYPE_VIDEO;