summaryrefslogtreecommitdiffstats
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-05-13 00:49:38 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-05-13 00:49:38 +0000
commit0be2f1e3f08b1a339d4ad0e9fc23d24316082619 (patch)
tree775fb6c8385cca0cf29b21b93a6c6d253c68b630 /libavcodec/opt.c
parent3f8adf26a45f9fb56cad880598e202b469fa60aa (diff)
downloadffmpeg-streaming-0be2f1e3f08b1a339d4ad0e9fc23d24316082619.zip
ffmpeg-streaming-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 9285808..7e0f527 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;
}
OpenPOWER on IntegriCloud