diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2012-12-12 21:51:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-20 16:05:30 +0100 |
commit | 52f21763667c1fe88581f978304b18c67dbe1e0e (patch) | |
tree | 540b0c1acff6279d8f38b421340dd8043d310321 /libavformat/aiffenc.c | |
parent | 0146c1f0f173417b2b90f35a2fdf87604cf9227a (diff) | |
download | ffmpeg-52f21763667c1fe88581f978304b18c67dbe1e0e.tar.gz |
aiffenc: set correct number of bits foru8 in aiff
with this change QuickTime is able to play u8 aiff file generated by FFmpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aiffenc.c')
-rw-r--r-- | libavformat/aiffenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c index 8cdb2616c2..ba5f607ff8 100644 --- a/libavformat/aiffenc.c +++ b/libavformat/aiffenc.c @@ -53,7 +53,6 @@ static int aiff_write_header(AVFormatContext *s) ffio_wfourcc(pb, aifc ? "AIFC" : "AIFF"); if (aifc) { // compressed audio - enc->bits_per_coded_sample = 16; if (!enc->block_align) { av_log(s, AV_LOG_ERROR, "block align not set\n"); return -1; |