]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.h
Check for oom in the dirac parser.
[ffmpeg] / ffmpeg.h
index 6545286ad0c9b6588ee3fc89bb27cb8bf788a9b6..56eb66a6e85c674e9e947918e558fbfd61de88e3 100644 (file)
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -243,7 +243,10 @@ typedef struct InputStream {
     AVStream *st;
     int discard;             /* true if stream data should be discarded */
     int user_set_discard;
-    int decoding_needed;     /* true if the packets must be decoded in 'raw_fifo' */
+    int decoding_needed;     /* non zero if the packets must be decoded in 'raw_fifo', see DECODING_FOR_* */
+#define DECODING_FOR_OST    1
+#define DECODING_FOR_FILTER 2
+
     AVCodecContext *dec_ctx;
     AVCodec *dec;
     AVFrame *decoded_frame;