[libav-devel] [PATCH] ffmpeg: remove unsed variable nopts

2011-08-17 Thread Diego Biurrun
---
 ffmpeg.c |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 1443dd3..c4ac3f9 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -695,7 +695,6 @@ static int read_avserver_streams(AVFormatContext *s, const 
char *filename)
 {
 int i, err;
 AVFormatContext *ic = NULL;
-int nopts = 0;
 
 err = avformat_open_input(ic, filename, NULL, NULL);
 if (err  0)
@@ -726,9 +725,6 @@ static int read_avserver_streams(AVFormatContext *s, const 
char *filename)
 } else
 choose_pixel_fmt(st, codec);
 }
-
-if(st-codec-flags  CODEC_FLAG_BITEXACT)
-nopts = 1;
 }
 
 av_close_input_file(ic);
-- 
1.7.1

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH] ffmpeg: remove unsed variable nopts

2011-08-17 Thread Kostya
On Wed, Aug 17, 2011 at 03:39:37PM +0200, Diego Biurrun wrote:
 ---
  ffmpeg.c |4 
  1 files changed, 0 insertions(+), 4 deletions(-)

You know, it prints This program is not developed anymore and is only
provided for compatibility., so please concentrate on improving avconv
instead.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH] ffmpeg: remove unsed variable nopts

2011-08-17 Thread Diego Biurrun
On Wed, Aug 17, 2011 at 03:47:10PM +0200, Kostya wrote:
 On Wed, Aug 17, 2011 at 03:39:37PM +0200, Diego Biurrun wrote:
  ---
   ffmpeg.c |4 
   1 files changed, 0 insertions(+), 4 deletions(-)
 
 You know, it prints This program is not developed anymore and is only
 provided for compatibility., so please concentrate on improving avconv
 instead.

I know, but it's still there for the moment and prints an annoying warning
during compilation.  Getting rid of that annoyance was worth spending 5
minutes on this to me, so please just approve it.

Diego
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH] ffmpeg: remove unsed variable nopts

2011-08-17 Thread Kostya
On Wed, Aug 17, 2011 at 03:54:19PM +0200, Diego Biurrun wrote:
 On Wed, Aug 17, 2011 at 03:47:10PM +0200, Kostya wrote:
  On Wed, Aug 17, 2011 at 03:39:37PM +0200, Diego Biurrun wrote:
   ---
ffmpeg.c |4 
1 files changed, 0 insertions(+), 4 deletions(-)
  
  You know, it prints This program is not developed anymore and is only
  provided for compatibility., so please concentrate on improving avconv
  instead.
 
 I know, but it's still there for the moment and prints an annoying warning
 during compilation.  Getting rid of that annoyance was worth spending 5
 minutes on this to me, so please just approve it.

OK (and don't forget to drop ffmpeg.c completely after the next release)
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel