From 8b122937af9ad10e9352f69c712e782fd6cfb436 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 11 Apr 2014 23:35:11 +0200 Subject: 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. --- libavcodec/raw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/raw.h') 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 */ -- cgit v1.2.3