preview tooltip, ffv1 fmt, opengl overlay tweaks, clear nested render output bfr
[goodguy/history.git] / cinelerra-5.1 / cinelerra / fileac3.C
index cc3cafae40ddf2418049274c4550ee451c6bb7ea..25276864175dcb471397a418481df9fd626ddacd 100644 (file)
@@ -1,4 +1,4 @@
-
+#ifdef HAVE_CIN_3RDPARTY
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
@@ -76,10 +76,8 @@ int FileAC3::reset_parameters_derived()
 }
 
 void FileAC3::get_parameters(BC_WindowBase *parent_window,
-               Asset *asset,
-               BC_WindowBase* &format_window,
-               int audio_options,
-               int video_options)
+               Asset *asset, BC_WindowBase* &format_window,
+               int audio_options, int video_options, EDL *edl)
 {
        if(audio_options)
        {
@@ -128,8 +126,6 @@ int FileAC3::open_file(int rd, int wr)
 
        if( !result && wr )
        {
-               //avcodec_init();
-               avcodec_register_all();
                codec = avcodec_find_encoder(AV_CODEC_ID_AC3);
                if(!codec)
                {
@@ -442,5 +438,4 @@ int AC3ConfigAudioBitrate::handle_event()
        return 1;
 }
 
-
-
+#endif