[FFmpeg-devel] [PATCH] avcodec/osq: Request a coding mode 2 sample
Michael Niedermayer
michael at niedermayer.cc
Mon Jun 23 15:33:12 EEST 2025
On Wed, Jun 18, 2025 at 02:44:21AM +0200, Michael Niedermayer wrote:
> On Wed, Jun 18, 2025 at 09:14:40AM +1000, Peter Ross wrote:
> > On Tue, Jun 17, 2025 at 10:32:16PM +0200, Michael Niedermayer wrote:
> > > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > > ---
> > > libavcodec/osq.c | 2 ++
> > > 1 file changed, 2 insertions(+)
> > >
> > > diff --git a/libavcodec/osq.c b/libavcodec/osq.c
> > > index 025be667a35..0de9af5f623 100644
> > > --- a/libavcodec/osq.c
> > > +++ b/libavcodec/osq.c
> > > @@ -212,6 +212,8 @@ static int osq_channel_parameters(AVCodecContext *avctx, int ch)
> > > cb->residue_parameter = get_urice(gb, 4);
> > > if (!cb->residue_parameter || cb->residue_parameter >= 31)
> > > return AVERROR_INVALIDDATA;
> > > + if (cb->coding_mode == 2)
> > > + avpriv_request_sample(avctx, "coding mode 2\n");
> >
> > nit: there is no need for newline character with avpriv_request_sample()
>
> corrected locally
will apply
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250623/ed42191f/attachment.sig>
More information about the ffmpeg-devel
mailing list