summaryrefslogtreecommitdiff
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index a0729e61ab..b2152524a5 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -82,7 +82,7 @@ int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
put_bits(&pb, 14, tmp);
}
flush_put_bits(&pb);
- return (put_bits_count(&pb) + 7) >> 3;
+ return put_bytes_output(&pb);
default:
return AVERROR_INVALIDDATA;
}