projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define AVMediaType enum, and use it instead of enum CodecType, which
[ffmpeg.git]
/
libavformat
/
oggparsespeex.c
diff --git
a/libavformat/oggparsespeex.c
b/libavformat/oggparsespeex.c
index
9ad5397
..
936b37e
100644
(file)
--- a/
libavformat/oggparsespeex.c
+++ b/
libavformat/oggparsespeex.c
@@
-52,7
+52,7
@@
static int speex_header(AVFormatContext *s, int idx) {
if (spxp->seq == 0) {
int frames_per_packet;
- st->codec->codec_type =
CODEC
_TYPE_AUDIO;
+ st->codec->codec_type =
AVMEDIA
_TYPE_AUDIO;
st->codec->codec_id = CODEC_ID_SPEEX;
st->codec->sample_rate = AV_RL32(p + 36);