projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Have xvid encoder wrapper honnor -vtag option
[libav.git]
/
libavcodec
/
xvidff.c
diff --git
a/libavcodec/xvidff.c
b/libavcodec/xvidff.c
index
e48bfe5
..
590fe4b
100644
(file)
--- a/
libavcodec/xvidff.c
+++ b/
libavcodec/xvidff.c
@@
-335,7
+335,8
@@
int ff_xvid_encode_init(AVCodecContext *avctx) {
} else {
/* We are claiming to be XviD */
x->quicktime_format = 0;
- avctx->codec_tag = ff_get_fourcc("xvid");
+ if(!avctx->codec_tag)
+ avctx->codec_tag = ff_get_fourcc("xvid");
}
/* Bframes */