[FFmpeg-cvslog] h264: namespace the decode function
Luca Barbato
git at videolan.org
Sun Dec 29 11:44:19 CET 2013
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Dec 27 07:48:13 2013 +0100| [4d2bb289318cce3fd1f6fded4468cc26f9d5c55e] | committer: Luca Barbato
h264: namespace the decode function
Make much easier debugging.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d2bb289318cce3fd1f6fded4468cc26f9d5c55e
---
libavcodec/h264.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 07a93cf..f610d71 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4853,8 +4853,8 @@ static int output_frame(H264Context *h, AVFrame *dst, AVFrame *src)
return 0;
}
-static int decode_frame(AVCodecContext *avctx, void *data,
- int *got_frame, AVPacket *avpkt)
+static int h264_decode_frame(AVCodecContext *avctx, void *data,
+ int *got_frame, AVPacket *avpkt)
{
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
@@ -4989,7 +4989,7 @@ AVCodec ff_h264_decoder = {
.priv_data_size = sizeof(H264Context),
.init = ff_h264_decode_init,
.close = h264_decode_end,
- .decode = decode_frame,
+ .decode = h264_decode_frame,
.capabilities = /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 |
CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS |
CODEC_CAP_FRAME_THREADS,
More information about the ffmpeg-cvslog
mailing list