[FFmpeg-cvslog] r16521 - in trunk/libavcodec: h264.c vdpau_internal.h vdpauvideo.c

cehoyos subversion
Sun Jan 11 00:00:48 CET 2009


Author: cehoyos
Date: Sun Jan 11 00:00:48 2009
New Revision: 16521

Log:
Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.

Modified:
   trunk/libavcodec/h264.c
   trunk/libavcodec/vdpau_internal.h
   trunk/libavcodec/vdpauvideo.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Sat Jan 10 23:57:51 2009	(r16520)
+++ trunk/libavcodec/h264.c	Sun Jan 11 00:00:48 2009	(r16521)
@@ -7425,8 +7425,8 @@ static int decode_nal_units(H264Context 
                && 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++;
             }

Modified: trunk/libavcodec/vdpau_internal.h
==============================================================================
--- trunk/libavcodec/vdpau_internal.h	Sat Jan 10 23:57:51 2009	(r16520)
+++ trunk/libavcodec/vdpau_internal.h	Sun Jan 11 00:00:48 2009	(r16521)
@@ -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);
 

Modified: trunk/libavcodec/vdpauvideo.c
==============================================================================
--- trunk/libavcodec/vdpauvideo.c	Sat Jan 10 23:57:51 2009	(r16520)
+++ trunk/libavcodec/vdpauvideo.c	Sun Jan 11 00:00:48 2009	(r16521)
@@ -106,8 +106,8 @@ void ff_vdpau_h264_set_reference_frames(
     }
 }
 
-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;
 




More information about the ffmpeg-cvslog mailing list