[FFmpeg-cvslog] libopenh264: Log debug messages to a non-null context
Martin Storsjö
git at videolan.org
Thu Jan 29 14:20:46 CET 2015
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Jan 28 22:17:29 2015 +0200| [6996fd204a7f28b46a8c3c97bcf223998218c743] | committer: Martin Storsjö
libopenh264: Log debug messages to a non-null context
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6996fd204a7f28b46a8c3c97bcf223998218c743
---
libavcodec/libopenh264enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index 57343ce..459a0ef 100644
--- a/libavcodec/libopenh264enc.c
+++ b/libavcodec/libopenh264enc.c
@@ -192,7 +192,7 @@ static int svc_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
layer_size[layer] += fbi.sLayerInfo[layer].pNalLengthInByte[i];
size += layer_size[layer];
}
- av_log(NULL, AV_LOG_DEBUG, "%d slices\n", fbi.sLayerInfo[fbi.iLayerNum - 1].iNalCount);
+ av_log(avctx, AV_LOG_DEBUG, "%d slices\n", fbi.sLayerInfo[fbi.iLayerNum - 1].iNalCount);
if ((ret = ff_alloc_packet(avpkt, size))) {
av_log(avctx, AV_LOG_ERROR, "Error getting output packet\n");
More information about the ffmpeg-cvslog
mailing list