[vlc-commits] avi: Remove unneeded forward declaration

Hugo Beauzée-Luyssen git at videolan.org
Wed Nov 22 15:08:26 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Nov 22 15:01:40 2017 +0100| [b425b20d0d3ebb970be399cb9b3ab8d779ec1c30] | committer: Hugo Beauzée-Luyssen

avi: Remove unneeded forward declaration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b425b20d0d3ebb970be399cb9b3ab8d779ec1c30
---

 modules/demux/avi/avi.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index f95417dea4..cd836607a6 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -236,9 +236,6 @@ static mtime_t  AVI_MovieGetLength( demux_t * );
 
 static void AVI_MetaLoad( demux_t *, avi_chunk_list_t *p_riff, avi_chunk_avih_t *p_avih );
 
-block_t * ReadFrame( demux_t *p_demux, const avi_track_t *tk,
-                     const int i_header, const int i_size );
-
 /*****************************************************************************
  * Stream management
  *****************************************************************************/
@@ -894,7 +891,7 @@ error:
  * ReadFrame: Reads frame, using stride if necessary
  *****************************************************************************/
 
-block_t * ReadFrame( demux_t *p_demux, const avi_track_t *tk,
+static block_t * ReadFrame( demux_t *p_demux, const avi_track_t *tk,
                      const int i_header, const int i_size )
 {
     block_t *p_frame = vlc_stream_Block( p_demux->s, __EVEN( i_size ) );



More information about the vlc-commits mailing list