Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-13 Thread James Almer
On 8/13/2020 11:45 PM, Xu, Guangxin wrote: >> Should be good with those trivial changes, so i can implement them and push >> if >> you don't want to send another revision. >> > Great! thanks for you kindly help on this and previous review. > Really appreciate it. Applied those changes, added miss

Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-13 Thread Xu, Guangxin
: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low- > overhead bitstream format > > On Thu, 13 Aug 2020, James Almer wrote: > > > On 8/13/2020 3:51 AM, Xu Guangxin wrote: > > >> + > >> +ret = obu_prefetch(s, header, MAX_OBU_HEADER_SIZE); > &g

Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-13 Thread Xu, Guangxin
James > Almer > Sent: Friday, August 14, 2020 3:11 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low- > overhead bitstream format > > On 8/13/2020 3:51 AM, Xu Guangxin wrote: > > Hi James, > > thanks for your feed

Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-13 Thread Martin Storsjö
On Thu, 13 Aug 2020, James Almer wrote: On 8/13/2020 3:51 AM, Xu Guangxin wrote: + +ret = obu_prefetch(s, header, MAX_OBU_HEADER_SIZE); +if (!ret) +return AVERROR(EOF); We use AVERROR_EOF rather than AVERROR(EOF) (Afair, it was done because EOF is not portable, but don't quo

Re: [FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-13 Thread James Almer
On 8/13/2020 3:51 AM, Xu Guangxin wrote: > Hi James, > thanks for your feedback, please help review it again. > > Changelist for v3: > use av_fifo_* instead of homebrewed fifo operations > obu_probe(), add padding obu to alllow list > read_header(), use "const AVRational* framerate" instead

[FFmpeg-devel] [PATCH v3 2/3] avormat/av1dec: add low-overhead bitstream format

2020-08-12 Thread Xu Guangxin
Hi James, thanks for your feedback, please help review it again. Changelist for v3: use av_fifo_* instead of homebrewed fifo operations obu_probe(), add padding obu to alllow list read_header(), use "const AVRational* framerate" instead of "AVRational framerate" It's defined in Section