[FFmpeg-cvslog] lavf: Fix codec id forcing with probed codecs

Michael Niedermayer git at videolan.org
Wed Jan 2 02:43:24 CET 2013


ffmpeg | branch: release/0.11 | Michael Niedermayer <michaelni at gmx.at> | Wed Jan  2 02:38:11 2013 +0100| [bf19d4c6fa12c482cd460065104856bb8b19e519] | committer: Carl Eugen Hoyos

lavf: Fix codec id forcing with probed codecs

Fixes Ticket2088

(cherry picked from commit 341e40f1e1eeba1a2952c26363630596193e887b)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf19d4c6fa12c482cd460065104856bb8b19e519
---

 libavformat/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 1e0b344..7c30fdf 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -770,6 +770,7 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
                     }else
                         av_log(s, AV_LOG_WARNING, "probed stream %d failed\n", st->index);
                 }
+                force_codec_ids(s, st);
             }
         }
     }



More information about the ffmpeg-cvslog mailing list