Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-05-13 04:49:38 +0400
committerBenoit Fouet <benoit.fouet@free.fr>2008-05-13 04:49:38 +0400
commit0be2f1e3f08b1a339d4ad0e9fc23d24316082619 (patch)
tree775fb6c8385cca0cf29b21b93a6c6d253c68b630 /libavcodec/opt.c
parent3f8adf26a45f9fb56cad880598e202b469fa60aa (diff)
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.c2
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;
}