[vlc-commits] dmo: Fix self-assignment

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 14 15:37:57 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 14 14:13:21 2017 +0100| [f58044ecb54f5e8b2ef30b27bcc990855de2dade] | committer: Jean-Baptiste Kempf

dmo: Fix self-assignment

CID #1402754

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f58044ecb54f5e8b2ef30b27bcc990855de2dade
---

 modules/codec/dmo/dmo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/dmo/dmo.c b/modules/codec/dmo/dmo.c
index 827a728..ef40f38 100644
--- a/modules/codec/dmo/dmo.c
+++ b/modules/codec/dmo/dmo.c
@@ -1438,7 +1438,7 @@ static int EncOpen( vlc_object_t *p_this )
     }
 
     /* Set output properties */
-    p_enc->fmt_out.i_cat = p_enc->fmt_out.i_cat;
+    p_enc->fmt_out.i_cat = p_enc->fmt_in.i_cat;
     if( p_enc->fmt_out.i_cat == AUDIO_ES )
         date_Init( &p_sys->end_date, p_enc->fmt_out.audio.i_rate, 1 );
     else



More information about the vlc-commits mailing list