OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0298cc0
)
riff: don't pad extradata when writing ASF.
author
Anton Khirnov
<wyskas@gmail.com>
Mon, 15 Mar 2010 08:49:02 +0000
(08:49 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Mon, 15 Mar 2010 08:49:02 +0000
(08:49 +0000)
Patch by Anton Khirnov mirror(moc liamg saksyw)
Originally committed as revision 22539 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/riff.c
patch
|
blob
|
history
diff --git
a/libavformat/riff.c
b/libavformat/riff.c
index
f241421
..
8db684a
100644
(file)
--- a/
libavformat/riff.c
+++ b/
libavformat/riff.c
@@
-443,7
+443,7
@@
void ff_put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const AVCodecTag
put_buffer(pb, enc->extradata, enc->extradata_size);
- if (enc->extradata_size & 1)
+ if (
!for_asf &&
enc->extradata_size & 1)
put_byte(pb, 0);
}
#endif //CONFIG_MUXERS