[FFmpeg-cvslog] r17375 - trunk/libavformat/flvdec.c
benoit
subversion
Mon Feb 16 17:09:34 CET 2009
Author: benoit
Date: Mon Feb 16 17:09:34 2009
New Revision: 17375
Log:
Add a context to av_log() calls.
Modified:
trunk/libavformat/flvdec.c
Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c Mon Feb 16 17:09:02 2009 (r17374)
+++ trunk/libavformat/flvdec.c Mon Feb 16 17:09:34 2009 (r17375)
@@ -360,11 +360,11 @@ static int flv_read_packet(AVFormatConte
break;
}
if(i == s->nb_streams){
- av_log(NULL, AV_LOG_ERROR, "invalid stream\n");
+ av_log(s, AV_LOG_ERROR, "invalid stream\n");
st= create_stream(s, is_audio);
s->ctx_flags &= ~AVFMTCTX_NOHEADER;
}
-// av_log(NULL, AV_LOG_DEBUG, "%d %X %d \n", is_audio, flags, st->discard);
+// av_log(s, AV_LOG_DEBUG, "%d %X %d \n", is_audio, flags, st->discard);
if( (st->discard >= AVDISCARD_NONKEY && !((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_KEY || is_audio))
||(st->discard >= AVDISCARD_BIDIR && ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_DISP_INTER && !is_audio))
|| st->discard >= AVDISCARD_ALL
More information about the ffmpeg-cvslog
mailing list