You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
avformat/utils: add AV_FRAME_FILENAME_FLAGS_IGNORE_TRUNCATION flag
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
|
|||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2025-09-xx - xxxxxxxx - lavf 62.5.100 - avformat.h
|
||||||
|
Add AV_FRAME_FILENAME_FLAGS_IGNORE_TRUNCATION
|
||||||
|
|
||||||
2025-09-xx - xxxxxxxxxx - lavu 60.12.100 - hwcontext_d3d12va.h
|
2025-09-xx - xxxxxxxxxx - lavu 60.12.100 - hwcontext_d3d12va.h
|
||||||
Add support for texture array mode AVD3D12VAFrame.subresource_index,
|
Add support for texture array mode AVD3D12VAFrame.subresource_index,
|
||||||
AVD3D12VAFramesContext.texture_array
|
AVD3D12VAFramesContext.texture_array
|
||||||
|
|||||||
@@ -2819,7 +2819,8 @@ void av_dump_format(AVFormatContext *ic,
|
|||||||
int is_output);
|
int is_output);
|
||||||
|
|
||||||
|
|
||||||
#define AV_FRAME_FILENAME_FLAGS_MULTIPLE 1 ///< Allow multiple %d
|
#define AV_FRAME_FILENAME_FLAGS_MULTIPLE 1 ///< Allow multiple %d
|
||||||
|
#define AV_FRAME_FILENAME_FLAGS_IGNORE_TRUNCATION 2 ///< Ignore truncated output instead of returning an error
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return in 'buf' the path with '%d' replaced by a number.
|
* Return in 'buf' the path with '%d' replaced by a number.
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ addchar:
|
|||||||
}
|
}
|
||||||
if (!percentd_found)
|
if (!percentd_found)
|
||||||
goto fail;
|
goto fail;
|
||||||
if (!av_bprint_is_complete(buf))
|
if (!(flags & AV_FRAME_FILENAME_FLAGS_IGNORE_TRUNCATION) && !av_bprint_is_complete(buf))
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
return 0;
|
return 0;
|
||||||
fail:
|
fail:
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
#include "version_major.h"
|
#include "version_major.h"
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_MINOR 4
|
#define LIBAVFORMAT_VERSION_MINOR 5
|
||||||
#define LIBAVFORMAT_VERSION_MICRO 102
|
#define LIBAVFORMAT_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||||
LIBAVFORMAT_VERSION_MINOR, \
|
LIBAVFORMAT_VERSION_MINOR, \
|
||||||
|
|||||||
Reference in New Issue
Block a user