Commit 23f36dda authored by Jan Gerber's avatar Jan Gerber

last call before 0.16

parent 5b46e5ba
svn
0.16 2006-02-11
- support encoding from .ogg input file.
- don't change samplerate and audio channels unless we use command
line options -H or -c, or when the input channels are > 2
......
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(ffmpeg2theora,0.15-svn)
AC_INIT(ffmpeg2theora,0.16)
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])
......
......@@ -1217,16 +1217,22 @@ int main (int argc, char **argv){
convert->pts_offset =
(double) convert->context->start_time / AV_TIME_BASE;
if(!info.outfile) {
fprintf (stderr,"\nUnable to open output file %s\n", outputfile_name);
return(1);
}
ff2theora_output (convert);
convert->audio_index =convert->video_index = -1;
}
else{
fprintf (stderr,"Unable to decode input\n");
fprintf (stderr,"\nUnable to decode input\n");
return(1);
}
av_close_input_file (convert->context);
}
else{
fprintf (stderr, "Unable to open file %s\n", inputfile_name);
fprintf (stderr, "\nFile %s has unknown data format\n", inputfile_name);
return(1);
}
ff2theora_close (convert);
fprintf(stderr,"\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment