projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add olaf de.po, opengl bg clr, asset drag select tweak
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
fileac3.C
diff --git
a/cinelerra-5.1/cinelerra/fileac3.C
b/cinelerra-5.1/cinelerra/fileac3.C
index cc3cafae40ddf2418049274c4550ee451c6bb7ea..25276864175dcb471397a418481df9fd626ddacd 100644
(file)
--- a/
cinelerra-5.1/cinelerra/fileac3.C
+++ b/
cinelerra-5.1/cinelerra/fileac3.C
@@
-1,4
+1,4
@@
-
+#ifdef HAVE_CIN_3RDPARTY
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
/*
* 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,
}
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)
{
{
if(audio_options)
{
@@
-128,8
+126,6
@@
int FileAC3::open_file(int rd, int wr)
if( !result && wr )
{
if( !result && wr )
{
- //avcodec_init();
- avcodec_register_all();
codec = avcodec_find_encoder(AV_CODEC_ID_AC3);
if(!codec)
{
codec = avcodec_find_encoder(AV_CODEC_ID_AC3);
if(!codec)
{
@@
-442,5
+438,4
@@
int AC3ConfigAudioBitrate::handle_event()
return 1;
}
return 1;
}
-
-
+#endif