mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-03 09:41:17 +08:00
asfdec: Account for different Format Data sizes
Some muxers may use the BMP_HEADER Format Data size instead of the ASF-specific one. Bug-Id: 1020 CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
committed by
Diego Biurrun
parent
871b4f3654
commit
0539d84d98
@@ -41,9 +41,10 @@ void ff_end_tag(AVIOContext *pb, int64_t start);
|
||||
/**
|
||||
* Read BITMAPINFOHEADER structure and set AVStream codec width, height and
|
||||
* bits_per_encoded_sample fields. Does not read extradata.
|
||||
* Writes the size of the BMP file to *size.
|
||||
* @return codec tag
|
||||
*/
|
||||
int ff_get_bmp_header(AVIOContext *pb, AVStream *st);
|
||||
int ff_get_bmp_header(AVIOContext *pb, AVStream *st, uint32_t *size);
|
||||
|
||||
void ff_put_bmp_header(AVIOContext *pb, AVCodecParameters *par, const AVCodecTag *tags, int for_asf);
|
||||
int ff_put_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecParameters *par);
|
||||
|
||||
Reference in New Issue
Block a user