Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
This commit is contained in:
@@ -138,7 +138,7 @@ static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t
|
||||
struct vaapi_context * const vactx = avctx->hwaccel_context;
|
||||
VAPictureParameterBufferVC1 *pic_param;
|
||||
|
||||
dprintf(avctx, "vaapi_vc1_start_frame()\n");
|
||||
av_dlog(avctx, "vaapi_vc1_start_frame()\n");
|
||||
|
||||
vactx->slice_param_size = sizeof(VASliceParameterBufferVC1);
|
||||
|
||||
@@ -308,7 +308,7 @@ static int vaapi_vc1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer,
|
||||
MpegEncContext * const s = &v->s;
|
||||
VASliceParameterBufferVC1 *slice_param;
|
||||
|
||||
dprintf(avctx, "vaapi_vc1_decode_slice(): buffer %p, size %d\n", buffer, size);
|
||||
av_dlog(avctx, "vaapi_vc1_decode_slice(): buffer %p, size %d\n", buffer, size);
|
||||
|
||||
/* Current bit buffer is beyond any marker for VC-1, so skip it */
|
||||
if (avctx->codec_id == CODEC_ID_VC1 && IS_MARKER(AV_RB32(buffer))) {
|
||||
|
||||
Reference in New Issue
Block a user