[xiph-commits] r10797 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Sat Feb 11 06:21:36 PST 2006


Author: j
Date: 2006-02-11 06:21:33 -0800 (Sat, 11 Feb 2006)
New Revision: 10797

Modified:
   trunk/ffmpeg2theora/ChangeLog
   trunk/ffmpeg2theora/configure.ac
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
last call before 0.16

Modified: trunk/ffmpeg2theora/ChangeLog
===================================================================
--- trunk/ffmpeg2theora/ChangeLog	2006-02-11 10:06:41 UTC (rev 10796)
+++ trunk/ffmpeg2theora/ChangeLog	2006-02-11 14:21:33 UTC (rev 10797)
@@ -1,4 +1,4 @@
-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

Modified: trunk/ffmpeg2theora/configure.ac
===================================================================
--- trunk/ffmpeg2theora/configure.ac	2006-02-11 10:06:41 UTC (rev 10796)
+++ trunk/ffmpeg2theora/configure.ac	2006-02-11 14:21:33 UTC (rev 10797)
@@ -1,6 +1,6 @@
 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])
 

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2006-02-11 10:06:41 UTC (rev 10796)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2006-02-11 14:21:33 UTC (rev 10797)
@@ -1217,16 +1217,22 @@
 
                 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");



More information about the commits mailing list