diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-05-13 00:49:38 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-05-13 00:49:38 +0000 |
commit | 0be2f1e3f08b1a339d4ad0e9fc23d24316082619 (patch) | |
tree | 775fb6c8385cca0cf29b21b93a6c6d253c68b630 /libavcodec/opt.c | |
parent | 3f8adf26a45f9fb56cad880598e202b469fa60aa (diff) | |
download | ffmpeg-0be2f1e3f08b1a339d4ad0e9fc23d24316082619.tar.gz |
Fix a typo.
Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit
Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r-- | libavcodec/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c index 928580857a..7e0f527350 100644 --- a/libavcodec/opt.c +++ b/libavcodec/opt.c @@ -172,7 +172,7 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){ else if(!strcmp(buf, "none" )) d= 0; else if(!strcmp(buf, "all" )) d= ~0; else { - if (!error) + if (error) av_log(NULL, AV_LOG_ERROR, "Unable to parse option value \"%s\": %s\n", val, error); return NULL; } |