diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-11 23:35:11 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-11 23:35:11 +0200 |
commit | 8b122937af9ad10e9352f69c712e782fd6cfb436 (patch) | |
tree | 3b9824d4de2fc16976ac65f164cd22a581e1c8a2 /libavcodec/raw.h | |
parent | 662a8d882758ac90cf55968fc7ab3540e51f2d0b (diff) | |
download | ffmpeg-8b122937af9ad10e9352f69c712e782fd6cfb436.tar.gz |
Warn if rawvideo and an unreadable pix_fmt are written.
Print an error if a combination of rawvideo and an unusual pix_fmt
that will be impossible to decode are written to avi or mov.
Fixes ticket #3545.
Diffstat (limited to 'libavcodec/raw.h')
-rw-r--r-- | libavcodec/raw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/raw.h b/libavcodec/raw.h index 3e59f28e33..a4179930a3 100644 --- a/libavcodec/raw.h +++ b/libavcodec/raw.h @@ -41,4 +41,7 @@ enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int four #endif enum AVPixelFormat avpriv_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc); +extern av_export const PixelFormatTag avpriv_pix_fmt_bps_avi[]; +extern av_export const PixelFormatTag avpriv_pix_fmt_bps_mov[]; + #endif /* AVCODEC_RAW_H */ |