changeset 27366:067da68b5b16

change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set. fixes -ovc raw -ffourcc patch by "Andrew Wason" rectalogic !@! rectalogic !.! com
author compn
date Sat, 02 Aug 2008 18:41:43 +0000
parents 13c920fdf7f5
children c4667b965561
files libmpcodecs/ve_raw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_raw.c	Sat Aug 02 17:38:11 2008 +0000
+++ b/libmpcodecs/ve_raw.c	Sat Aug 02 18:41:43 2008 +0000
@@ -27,6 +27,7 @@
 #define mux_v (vf->priv->mux)
 
 static int set_format(struct vf_instance_s *vf, unsigned int fmt) {
+    if (!force_fourcc)
     mux_v->bih->biCompression = fmt;
     
     mux_v->bih->biPlanes = 1;