[vlc-commits] avcodec: move debug message to correct place

Rémi Denis-Courmont git at videolan.org
Sat Sep 13 12:12:28 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 13 12:59:37 2014 +0300| [10b5fe8201a903728096e99baa685292919497ca] | committer: Rémi Denis-Courmont

avcodec: move debug message to correct place

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

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

diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c
index 5190aae..eb7dd7b 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -350,8 +350,8 @@ static void CloseDecoder( vlc_object_t *p_this )
         vlc_avcodec_lock();
         avcodec_close( p_sys->p_context );
         vlc_avcodec_unlock();
+        msg_Dbg( p_dec, "ffmpeg codec (%s) stopped", p_sys->p_codec->name );
     }
-    msg_Dbg( p_dec, "ffmpeg codec (%s) stopped", p_sys->p_codec->name );
 
     avcodec_free_context( &p_sys->p_context );
     free( p_sys );



More information about the vlc-commits mailing list