From 213a7755745cc9a3e8e2cb8d8b923d75b981183d Mon Sep 17 00:00:00 2001 From: cehoyos Date: Sat, 10 Jan 2009 23:00:48 +0000 Subject: [PATCH] Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16521 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/h264.c | 4 ++-- libavcodec/vdpau_internal.h | 4 ++-- libavcodec/vdpauvideo.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 310251d59..400dca9de 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7425,8 +7425,8 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ && avctx->skip_frame < AVDISCARD_ALL){ if(ENABLE_H264_VDPAU_DECODER && avctx->codec_id == CODEC_ID_H264_VDPAU){ static const uint8_t start_code[] = {0x00, 0x00, 0x01}; - ff_vdpau_h264_add_data_chunk(s, start_code, sizeof(start_code)); - ff_vdpau_h264_add_data_chunk(s, &buf[buf_index - consumed], consumed ); + ff_vdpau_add_data_chunk(s, start_code, sizeof(start_code)); + ff_vdpau_add_data_chunk(s, &buf[buf_index - consumed], consumed ); }else context_count++; } diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 8e120c30f..83911190b 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -27,8 +27,8 @@ #include #include "h264.h" -void ff_vdpau_h264_add_data_chunk(MpegEncContext *s, const uint8_t *buf, - int buf_size); +void ff_vdpau_add_data_chunk(MpegEncContext *s, const uint8_t *buf, + int buf_size); void ff_vdpau_h264_set_reference_frames(H264Context *h); void ff_vdpau_h264_picture_complete(H264Context *h); diff --git a/libavcodec/vdpauvideo.c b/libavcodec/vdpauvideo.c index e79fa5ac4..8271bfe8f 100644 --- a/libavcodec/vdpauvideo.c +++ b/libavcodec/vdpauvideo.c @@ -106,8 +106,8 @@ void ff_vdpau_h264_set_reference_frames(H264Context *h) } } -void ff_vdpau_h264_add_data_chunk(MpegEncContext *s, - const uint8_t *buf, int buf_size) +void ff_vdpau_add_data_chunk(MpegEncContext *s, + const uint8_t *buf, int buf_size) { struct vdpau_render_state * render; -- 2.39.2