]> git.sesse.net Git - vlc/blobdiff - modules/codec/ffmpeg/mux.c
BeOS / gcc 2.x fixes, patch by Cian Duffy
[vlc] / modules / codec / ffmpeg / mux.c
index ea0c5f7abca654960214e084beedbd4e43bba850..7a948593eee224e52922b57c53f2c4fbd239d412 100644 (file)
@@ -79,6 +79,7 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence );
  *****************************************************************************/
 int E_(OpenMux)( vlc_object_t *p_this )
 {
+    AVOutputFormat *file_oformat; 
     sout_mux_t *p_mux = (sout_mux_t*)p_this;
     sout_mux_sys_t *p_sys;
     AVFormatParameters params, *ap = &params;
@@ -87,7 +88,7 @@ int E_(OpenMux)( vlc_object_t *p_this )
     av_register_all();
 
     /* Find the requested muxer */
-    AVOutputFormat *file_oformat =
+    file_oformat =
         guess_format(NULL, p_mux->p_access->psz_name, NULL);
     if (!file_oformat)
     {