OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5a3d0
)
Make sure mp1/mp2 get their frame_size set.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Feb 2010 22:05:20 +0000
(22:05 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Feb 2010 22:05:20 +0000
(22:05 +0000)
Fixes issue1696
Originally committed as revision 21972 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
103a880
..
5f6bdbb
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-1914,6
+1914,8
@@
static int has_codec_parameters(AVCodecContext *enc)
if(!enc->frame_size &&
(enc->codec_id == CODEC_ID_VORBIS ||
enc->codec_id == CODEC_ID_AAC ||
+ enc->codec_id == CODEC_ID_MP1 ||
+ enc->codec_id == CODEC_ID_MP2 ||
enc->codec_id == CODEC_ID_MP3 ||
enc->codec_id == CODEC_ID_SPEEX))
return 0;