Skip to content

Commit

Permalink
Merge pull request #13 from kierank/merge
Browse files Browse the repository at this point in the history
upipe_avcodec: Make sure alignment is appropriate for Opus decoder on AV...
  • Loading branch information
Christophe Massiot committed Mar 1, 2015
2 parents 28506fe + 3c322d6 commit cb4b7f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/upipe-av/upipe_avcodec_decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ static int upipe_avcdec_get_buffer_sound(struct AVCodecContext *context,
context->frame_size))
UBASE_FATAL(upipe, uref_sound_flow_set_sample_size(flow_def_attr,
av_get_bytes_per_sample(context->sample_fmt)))
UBASE_FATAL(upipe, uref_sound_flow_set_align(flow_def_attr, 32))

if (unlikely(upipe_avcdec->ubuf_mgr == NULL)) {
if (unlikely(!upipe_avcdec_demand_ubuf_mgr(upipe, flow_def_attr))) {
Expand Down

0 comments on commit cb4b7f8

Please sign in to comment.