aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-04-21 15:28:27 +0800
committerJun Zhao <jun.zhao@intel.com>2018-04-22 15:37:25 +0800
commitc6d8492cffc43cdd658e05474241fbce045a9167 (patch)
tree924b0263c62c8f672535fd40eb2c1290aa2ea3e6
parent9f9f56e6791f6c44ac8e4b97a8da5816ed542332 (diff)
downloadffmpeg-c6d8492cffc43cdd658e05474241fbce045a9167.tar.gz
doc/examples/hw_decode: Remove setting deprecated refcounted_frames
When use new decode APIs(avcodec_send_packet/avcodec_receive_frame), don't need to setting the deprecated field refcounted_frames. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-rw-r--r--doc/examples/hw_decode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/examples/hw_decode.c b/doc/examples/hw_decode.c
index 77ae8df35b..4a4e7fc8ac 100644
--- a/doc/examples/hw_decode.c
+++ b/doc/examples/hw_decode.c
@@ -211,7 +211,6 @@ int main(int argc, char *argv[])
return -1;
decoder_ctx->get_format = get_hw_format;
- av_opt_set_int(decoder_ctx, "refcounted_frames", 1, 0);
if (hw_decoder_init(decoder_ctx, type) < 0)
return -1;