Re: [FFmpeg-devel] [PATCH] avcodec/avcodec: don't print coded dimensions if not set

2024-02-13 Thread James Almer
On 2/10/2024 2:39 PM, James Almer wrote: The avctx passed to avcodec_string() may have unset coded dimensions, as is the case when called by av_dump_format() where the streams had all the needed information at the container level, and as such no frames were decoded internally. Signed-off-by:

[FFmpeg-devel] [PATCH] avcodec/avcodec: don't print coded dimensions if not set

2024-02-10 Thread James Almer
The avctx passed to avcodec_string() may have unset coded dimensions, as is the case when called by av_dump_format() where the streams had all the needed information at the container level, and as such no frames were decoded internally. Signed-off-by: James Almer --- libavcodec/avcodec.c | 1 +