OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61928b6
)
libopenh264: Log debug messages to a non-null context
author
Martin Storsjö
<martin@martin.st>
Wed, 28 Jan 2015 20:17:29 +0000
(22:17 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 29 Jan 2015 07:16:35 +0000
(09:16 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libopenh264enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/libopenh264enc.c
b/libavcodec/libopenh264enc.c
index
57343ce
..
459a0ef
100644
(file)
--- 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");