summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-15 14:57:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-15 14:57:57 +0100
commit353dbaa29714c9fb7d4b3ccc7e1b50569b0ea257 (patch)
treee0e67a898b5e6ce2ba9d641473960beb109995ff /libavformat
parent8686b6c68bacfdd9ffa89736756192188973ad5d (diff)
parent3f111804eb5c603a344706b84b7164cbf7b4e0df (diff)
Merge commit '3f111804eb5c603a344706b84b7164cbf7b4e0df'
* commit '3f111804eb5c603a344706b84b7164cbf7b4e0df': libvpx: make vp8 and vp9 selectable libvpx: support vp9 nut: support vp9 tag mkv: support vp9 tag rtpdec: Make variables that should wrap unsigned Conflicts: configure libavcodec/Makefile libavcodec/allcodecs.c libavcodec/avcodec.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroska.c1
-rw-r--r--libavformat/nut.c1
-rw-r--r--libavformat/rtpdec.h6
3 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 64d0a459b4..930c609cd4 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -82,6 +82,7 @@ const CodecTags ff_mkv_codec_tags[]={
{"V_THEORA" , AV_CODEC_ID_THEORA},
{"V_UNCOMPRESSED" , AV_CODEC_ID_RAWVIDEO},
{"V_VP8" , AV_CODEC_ID_VP8},
+ {"V_VP9" , AV_CODEC_ID_VP9},
{"" , AV_CODEC_ID_NONE}
};
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 62a650dbed..2abe969308 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -40,6 +40,7 @@ const AVCodecTag ff_nut_data_tags[] = {
};
const AVCodecTag ff_nut_video_tags[] = {
+ { AV_CODEC_ID_VP9, MKTAG('V', 'P', '9', '0') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 16 ) },
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index f40eae2079..cf7448850f 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -83,9 +83,9 @@ typedef struct RTPStatistics {
uint32_t base_seq; ///< base sequence number
uint32_t bad_seq; ///< last bad sequence number + 1
int probation; ///< sequence packets till source is valid
- int received; ///< packets received
- int expected_prior; ///< packets expected in last interval
- int received_prior; ///< packets received in last interval
+ uint32_t received; ///< packets received
+ uint32_t expected_prior; ///< packets expected in last interval
+ uint32_t received_prior; ///< packets received in last interval
uint32_t transit; ///< relative transit time for previous packet
uint32_t jitter; ///< estimated jitter.
} RTPStatistics;