Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-29 16:13:16 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-29 16:13:25 +0300
commitd39fa69dfc64d96562d2d2707bf250493d53d34c (patch)
treef462dfa455e611db729623fd07509195c1e3e424 /libavcodec/libopenh264enc.c
parentd43c1ec684ced58e2d4288c850ea774f06df9d23 (diff)
parent6996fd204a7f28b46a8c3c97bcf223998218c743 (diff)
Merge commit '6996fd204a7f28b46a8c3c97bcf223998218c743'
* commit '6996fd204a7f28b46a8c3c97bcf223998218c743': libopenh264: Log debug messages to a non-null context Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libopenh264enc.c')
-rw-r--r--libavcodec/libopenh264enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index a20501ff92..9be3a97d78 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");