[FFmpeg-soc] [soc]: r3917 - dirac/libavcodec/dwt.c

conrad subversion at mplayerhq.hu
Thu Jan 1 21:31:44 CET 2009


Author: conrad
Date: Thu Jan  1 21:31:44 2009
New Revision: 3917

Log:
Log an error if we don't support a wavelet (e.g. fidelity in Dirac)

Modified:
   dirac/libavcodec/dwt.c

Modified: dirac/libavcodec/dwt.c
==============================================================================
--- dirac/libavcodec/dwt.c	Thu Jan  1 21:31:42 2009	(r3916)
+++ dirac/libavcodec/dwt.c	Thu Jan  1 21:31:44 2009	(r3917)
@@ -475,6 +475,9 @@ void ff_spatial_idwt_slice2(DWTCompose *
             case DWT_DIRAC_DAUB9_7:
                 spatial_compose_daub97i_dy(cs+level, buffer, wl, hl, stride_l);
                 break;
+            default:
+                av_log(NULL, AV_LOG_ERROR, "Unsupported idwt type %d\n", type);
+                break;
             }
         }
     }



More information about the FFmpeg-soc mailing list