diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-28 22:17:29 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-01-29 09:16:35 +0200 |
commit | 6996fd204a7f28b46a8c3c97bcf223998218c743 (patch) | |
tree | 24e824dcdce33243a22eb0a17a151498154fe05e /libavcodec/libopenh264enc.c | |
parent | 61928b68dc28e080b8c8191afe5541123c682bbd (diff) | |
download | ffmpeg-6996fd204a7f28b46a8c3c97bcf223998218c743.tar.gz |
libopenh264: Log debug messages to a non-null context
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libopenh264enc.c')
-rw-r--r-- | libavcodec/libopenh264enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c index 57343ce8f6..459a0ef229 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"); |