diff options
author | Luca Barbato | 2011-01-29 17:46:18 +0100 |
---|---|---|
committer | Michael Niedermayer | 2011-01-30 03:41:48 +0100 |
commit | 9ef5a9deaf0f4f44a19efa5bd75df74873096063 (patch) | |
tree | c24d5f9102f0b194554be80892b7e8838ed98ba8 /libavcodec/vaapi_h264.c | |
parent | 4592c85fc888ed32df2486c04914286f403c3a80 (diff) |
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
Diffstat (limited to 'libavcodec/vaapi_h264.c')
-rw-r--r-- | libavcodec/vaapi_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c index 229c0f9b24..cbe526b6e7 100644 --- a/libavcodec/vaapi_h264.c +++ b/libavcodec/vaapi_h264.c @@ -227,7 +227,7 @@ static int start_frame(AVCodecContext *avctx, VAPictureParameterBufferH264 *pic_param; VAIQMatrixBufferH264 *iq_matrix; - dprintf(avctx, "start_frame()\n"); + av_dlog(avctx, "start_frame()\n"); vactx->slice_param_size = sizeof(VASliceParameterBufferH264); @@ -289,7 +289,7 @@ static int end_frame(AVCodecContext *avctx) { H264Context * const h = avctx->priv_data; - dprintf(avctx, "end_frame()\n"); + av_dlog(avctx, "end_frame()\n"); return ff_vaapi_common_end_frame(&h->s); } @@ -302,7 +302,7 @@ static int decode_slice(AVCodecContext *avctx, MpegEncContext * const s = &h->s; VASliceParameterBufferH264 *slice_param; - dprintf(avctx, "decode_slice(): buffer %p, size %d\n", buffer, size); + av_dlog(avctx, "decode_slice(): buffer %p, size %d\n", buffer, size); /* Fill in VASliceParameterBufferH264. */ slice_param = (VASliceParameterBufferH264 *)ff_vaapi_alloc_slice(avctx->hwaccel_context, buffer, size); |