diff options
author | Paul Kocialkowski | 2021-02-25 16:17:43 +0100 |
---|---|---|
committer | Paul Kocialkowski | 2021-02-25 16:17:59 +0100 |
commit | 69ce259d995fa948dd34e24e004ec37b804095c6 (patch) | |
tree | cfc628c8bae63a303aa3ec849e0b134b67663fec | |
parent | db351826c6fb532138d9aa0b677752c31c1e40c4 (diff) |
Enable motion vectors debuggingdebug/motion-vectors
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
-rw-r--r-- | libavcodec/mpegutils.c | 2 | ||||
-rw-r--r-- | libavcodec/version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegutils.c b/libavcodec/mpegutils.c index c0ee3aae85..1828c9da5e 100644 --- a/libavcodec/mpegutils.c +++ b/libavcodec/mpegutils.c @@ -278,7 +278,7 @@ void ff_print_debug_info2(AVCodecContext *avctx, AVFrame *pict, uint8_t *mbskip_ ret = av_pix_fmt_get_chroma_sub_sample (avctx->pix_fmt, &h_chroma_shift, &v_chroma_shift); if (ret) - return ret; + return; av_frame_make_writable(pict); diff --git a/libavcodec/version.h b/libavcodec/version.h index 5bdfdce363..6a831e7328 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -55,7 +55,7 @@ #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 59) #endif #ifndef FF_API_DEBUG_MV -#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58) +#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 59) #endif #ifndef FF_API_AVCTX_TIMEBASE #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59) |