]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.
authorcehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 10 Jan 2009 23:00:48 +0000 (23:00 +0000)
committercehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 10 Jan 2009 23:00:48 +0000 (23:00 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16521 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/h264.c
libavcodec/vdpau_internal.h
libavcodec/vdpauvideo.c

index 310251d59a98d7d50c20a5b0f97b6ac17bc434bc..400dca9de64db947422a737209559d9d5eda312b 100644 (file)
@@ -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++;
             }
index 8e120c30f8cd450fb857f4920fb041673d700dc3..83911190b42e3f6fcf918ab4d5a1bfa9f49993c8 100644 (file)
@@ -27,8 +27,8 @@
 #include <stdint.h>
 #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);
 
index e79fa5ac4ae43350ab3443e1b6f351424c92eb8d..8271bfe8f4e55e6768b58133f223c5975f09f8c3 100644 (file)
@@ -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;