changeset 6103:4d746aada17b libavcodec

cosmetics: indentation and add a TODO comment
author jbr
date Fri, 04 Jan 2008 00:39:03 +0000
parents 896e1cd9a7fe
children 2b0d16689147
files ac3dec.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ac3dec.c	Thu Jan 03 23:05:53 2008 +0000
+++ b/ac3dec.c	Fri Jan 04 00:39:03 2008 +0000
@@ -1110,10 +1110,11 @@
 
     /* check for crc mismatch */
     if(avctx->error_resilience > 0) {
-    if(av_crc(av_crc8005, 0, &buf[2], s->frame_size-2)) {
-        av_log(avctx, AV_LOG_ERROR, "frame CRC mismatch\n");
-        return -1;
-    }
+        if(av_crc(av_crc8005, 0, &buf[2], s->frame_size-2)) {
+            av_log(avctx, AV_LOG_ERROR, "frame CRC mismatch\n");
+            return -1;
+        }
+        /* TODO: error concealment */
     }
 
     avctx->sample_rate = s->sample_rate;