[FFmpeg-devel] [PATCH v2 3/3] avformat/dvdvideodec: add menu demuxing support

Stefano Sabatini stefasab at gmail.com
Tue Mar 12 12:22:02 EET 2024


On date Saturday 2024-03-09 12:27:52 -0600, Marth64 wrote:
> Signed-off-by: Marth64 <marth64 at proxyid.net>
> ---
>  doc/demuxers.texi         |  43 +++++-
>  libavformat/dvdvideodec.c | 314 ++++++++++++++++++++++++++++++++++++--
>  2 files changed, 339 insertions(+), 18 deletions(-)

Will push soon with the other patch, thanks.

BTW this is causing this warning:
libavformat/dvdvideodec.c: In function ‘dvdvideo_menu_next_ps_block’:
libavformat/dvdvideodec.c:426:83: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=]
  426 |         av_log(s, AV_LOG_ERROR, "Unable to read VOB block: offset=%d blocks_read=%d\n",
      |                                                                                  ~^
      |                                                                                   |
      |                                                                                   int
      |                                                                                  %ld
  427 |                                 state->sector_offset, blocks_read);
      |                                                       ~~~~~~~~~~~                  
      |                                                       |
      |                                                       ssize_t {aka long int}

[...]


More information about the ffmpeg-devel mailing list