summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libffmpegFLAC')
-rw-r--r--apps/codecs/libffmpegFLAC/decoder.c2
-rw-r--r--apps/codecs/libffmpegFLAC/decoder.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libffmpegFLAC/decoder.c b/apps/codecs/libffmpegFLAC/decoder.c
index 4dbae972cb..3d934d9990 100644
--- a/apps/codecs/libffmpegFLAC/decoder.c
+++ b/apps/codecs/libffmpegFLAC/decoder.c
@@ -584,5 +584,7 @@ int flac_decode_frame(FLACContext *s,
584 break; 584 break;
585 } 585 }
586 586
587 s->framesize = (get_bits_count(&s->gb)+7)>>3;
588
587 return 0; 589 return 0;
588} 590}
diff --git a/apps/codecs/libffmpegFLAC/decoder.h b/apps/codecs/libffmpegFLAC/decoder.h
index 632bb1b823..affec0a5a3 100644
--- a/apps/codecs/libffmpegFLAC/decoder.h
+++ b/apps/codecs/libffmpegFLAC/decoder.h
@@ -35,6 +35,9 @@ typedef struct FLACContext {
35 35
36 int bitstream_size; 36 int bitstream_size;
37 int bitstream_index; 37 int bitstream_index;
38
39 int sample_skip;
40 int framesize;
38} FLACContext; 41} FLACContext;
39 42
40int flac_decode_frame(FLACContext *s, 43int flac_decode_frame(FLACContext *s,