[FFmpeg-cvslog] ffmpeg_opt: fix pointer types

Michael Niedermayer git at videolan.org
Thu Dec 20 04:26:16 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Dec 20 04:21:29 2012 +0100| [a46c565796d92ef27da1eba99428c7ca41be0dd8] | committer: Michael Niedermayer

ffmpeg_opt: fix pointer types

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg_opt.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index d247870..c5e8e62 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -1978,8 +1978,8 @@ static int opt_data_frames(void *optctx, const char *opt, const char *arg)
 static int opt_default_new(OptionsContext *o, const char *opt, const char *arg)
 {
     int ret;
-    AVCodecContext *cbak = codec_opts;
-    AVCodecContext *fbak = format_opts;
+    AVDictionary *cbak = codec_opts;
+    AVDictionary *fbak = format_opts;
     codec_opts = NULL;
     format_opts = NULL;
 



More information about the ffmpeg-cvslog mailing list