]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
avformat/mov: Don't allow negative sample sizes.
[ffmpeg] / libavformat / internal.h
index 45a4149c5a70e3af53b4fea403c8eaf7e6c4de40..17a6ab07d350da644f8c9f53ede9c185e6af04c2 100644 (file)
@@ -188,6 +188,8 @@ struct AVStreamInternal {
      */
     int need_context_update;
 
+    int is_intra_only;
+
     FFFrac *priv_pts;
 };
 
@@ -510,6 +512,8 @@ unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id);
 
 enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag);
 
+int ff_is_intra_only(enum AVCodecID id);
+
 /**
  * Select a PCM codec based on the given parameters.
  *