]> git.videolan.org Git - x264.git/commitdiff
Print more accurate error message if dump_yuv fails
authorJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 14 Oct 2009 18:32:27 +0000 (11:32 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 19 Oct 2009 09:29:17 +0000 (02:29 -0700)
encoder/encoder.c

index 812262b84278d36e2cb5a2604aa11368f9ec04d7..87e07007807e4c757db4973f39b12f085878aa86 100644 (file)
@@ -935,7 +935,7 @@ x264_t *x264_encoder_open( x264_param_t *param )
             fclose( f );
         else
         {
-            x264_log( h, X264_LOG_ERROR, "can't write to fdec.yuv\n" );
+            x264_log( h, X264_LOG_ERROR, "dump_yuv: can't write to %s\n", h->param.psz_dump_yuv );
             goto fail;
         }
     }