summaryrefslogtreecommitdiff
path: root/libavcodec/raw.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-04-11 23:35:11 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-04-11 23:35:11 +0200
commit8b122937af9ad10e9352f69c712e782fd6cfb436 (patch)
tree3b9824d4de2fc16976ac65f164cd22a581e1c8a2 /libavcodec/raw.h
parent662a8d882758ac90cf55968fc7ab3540e51f2d0b (diff)
downloadffmpeg-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.h3
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 */