[FFmpeg-cvslog] Fix typeo in some rarely used memoization

Joseph Wecker git at videolan.org
Wed Nov 30 05:32:41 CET 2011


ffmpeg | branch: master | Joseph Wecker <jwecker at justin.tv> | Thu Nov 10 14:57:43 2011 -0800| [b55dd10d6295200b5742aa9d9d6e97a96f30484b] | committer: Michael Niedermayer

Fix typeo in some rarely used memoization

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/flvdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 954deeb..469e989 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -342,7 +342,7 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) {
         stream = s->streams[i];
         if(stream->codec->codec_type == AVMEDIA_TYPE_VIDEO) vstream = stream;
         else if(stream->codec->codec_type == AVMEDIA_TYPE_AUDIO) astream = stream;
-        else if(stream->codec->codec_type == AVMEDIA_TYPE_VIDEO) dstream = stream;
+        else if(stream->codec->codec_type == AVMEDIA_TYPE_DATA) dstream = stream;
     }
 
     //parse the second object (we want a mixed array)



More information about the ffmpeg-cvslog mailing list