Skip to content
Snippets Groups Projects
Commit 237f1329 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos Committed by Martin Storsjö
Browse files

movdec: Set frame_size for AMR

Earlier, sc->samples_per_frame was used for setting the frame size,
but all files don't have that set properly. The frame size is a
known constant for these codecs.

If frame_size isn't set, the mov/3gp muxer refuses to mux it.

This fixes stream copy of audio from
https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp


to another 3gp file (roundup issue 2468).

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 717401af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment