[vlc-commits] Fix C&P error (cid #1049313)

Rémi Duraffort git at videolan.org
Mon Jul 22 17:34:27 CEST 2013


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 17:16:55 2013 +0200| [f5df418a5ea952d812de748052ca1dc61f574f93] | committer: Rémi Duraffort

Fix C&P error (cid #1049313)

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

 src/misc/es_format.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index 1e7c51f..352bd5b 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -435,7 +435,7 @@ bool es_format_IsSimilar( const es_format_t *p_fmt1, const es_format_t *p_fmt2 )
         if( !v1.i_chroma )
             v1.i_chroma = vlc_fourcc_GetCodec( p_fmt1->i_cat, p_fmt1->i_codec );
         if( !v2.i_chroma )
-            v2.i_chroma = vlc_fourcc_GetCodec( p_fmt1->i_cat, p_fmt2->i_codec );
+            v2.i_chroma = vlc_fourcc_GetCodec( p_fmt2->i_cat, p_fmt2->i_codec );
         return video_format_IsSimilar( &p_fmt1->video, &p_fmt2->video );
     }
 



More information about the vlc-commits mailing list