# HG changeset patch # User michael # Date 1220369637 0 # Node ID 7c72855fd8bccce2c522234e90869960e467d3cb # Parent f55b5e4743216f8d26bcd419cdce73929ed39cf5 Fix detection of MPEG4 in MPEG-PS. Fixes issue568. diff -r f55b5e474321 -r 7c72855fd8bc utils.c --- 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;