[FFmpeg-cvslog] examples/filtering_audio, video: do not call avcodec_register_all()

Stefano Sabatini git at videolan.org
Fri Jan 24 12:22:32 CET 2014


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Jan 24 12:17:40 2014 +0100| [ca57659440fce99d4cac0e647b6e466edd56598c] | committer: Stefano Sabatini

examples/filtering_audio,video: do not call avcodec_register_all()

It is implied by av_register_all(). Simplify.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca57659440fce99d4cac0e647b6e466edd56598c
---

 doc/examples/filtering_audio.c |    1 -
 doc/examples/filtering_video.c |    1 -
 2 files changed, 2 deletions(-)

diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 1568f60..2ceee6a 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -210,7 +210,6 @@ int main(int argc, char **argv)
         exit(1);
     }
 
-    avcodec_register_all();
     av_register_all();
     avfilter_register_all();
 
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 0ac1cd4..67c8a8b 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -200,7 +200,6 @@ int main(int argc, char **argv)
         exit(1);
     }
 
-    avcodec_register_all();
     av_register_all();
     avfilter_register_all();
 



More information about the ffmpeg-cvslog mailing list