Merge commit '55b59fab880a9fcdd30f97c5170af282087ac4f7'
* commit '55b59fab880a9fcdd30f97c5170af282087ac4f7': roqaudio: Always use the frame buffer on flush Conflicts: libavcodec/roqaudioenc.c See: a1af505d6640a89401f8e9941a38352a1ca49d58 See: c0b17ea106b94f79255f81ec36ea50096e1ae985 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f41d409b7a
@ -148,9 +148,8 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (context->input_frames < 8) {
|
if (context->input_frames < 8)
|
||||||
in = context->frame_buffer;
|
in = context->frame_buffer;
|
||||||
}
|
|
||||||
|
|
||||||
if (stereo) {
|
if (stereo) {
|
||||||
context->lastSample[0] &= 0xFF00;
|
context->lastSample[0] &= 0xFF00;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user