Revision 625daac4 libavcodec/flac.h

View differences:

libavcodec/flac.h
28 28
#define AVCODEC_FLAC_H
29 29

  
30 30
#include "avcodec.h"
31
#include "get_bits.h"
31 32

  
32 33
#define FLAC_STREAMINFO_SIZE   34
33 34
#define FLAC_MAX_CHANNELS       8
......
120 121
 */
121 122
int ff_flac_get_max_frame_size(int blocksize, int ch, int bps);
122 123

  
124
/**
125
 * Validate and decode a frame header.
126
 * @param      avctx AVCodecContext to use as av_log() context
127
 * @param      gb    GetBitContext from which to read frame header
128
 * @param[out] fi    frame information
129
 * @return non-zero on error, 0 if ok
130
 */
131
int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
132
                                FLACFrameInfo *fi);
123 133
#endif /* AVCODEC_FLAC_H */

Also available in: Unified diff