diff src/ffmpeg/libavformat/utils.c @ 831:dec0488e1344 trunk

[svn] - remove more video codecs.
author nenolod
date Mon, 12 Mar 2007 15:28:22 -0700
parents 68562d99230f
children d8b8b36d2709
line wrap: on
line diff
--- a/src/ffmpeg/libavformat/utils.c	Mon Mar 12 15:23:10 2007 -0700
+++ b/src/ffmpeg/libavformat/utils.c	Mon Mar 12 15:28:22 2007 -0700
@@ -2025,9 +2025,6 @@
     for(i=0;i<ic->nb_streams;i++) {
         st = ic->streams[i];
         if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
-            if(st->codec->codec_id == CODEC_ID_RAWVIDEO && !st->codec->codec_tag && !st->codec->bits_per_sample)
-                st->codec->codec_tag= avcodec_pix_fmt_to_codec_tag(st->codec->pix_fmt);
-
             if(duration_count[i]
                && (st->codec->time_base.num*101LL <= st->codec->time_base.den || st->codec->codec_id == CODEC_ID_MPEG2VIDEO) &&
                //FIXME we should not special case mpeg2, but this needs testing with non mpeg2 ...