projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hwaccel: Simplify ff_find_hwaccel
[ffmpeg.git]
/
libavcodec
/
h264.c
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
f0ef2eb
..
8faefbd
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3144,7
+3144,7
@@
static int h264_slice_header_init(H264Context *h, int reinit)
h->sps.num_units_in_tick, den, 1 << 30);
}
h->sps.num_units_in_tick, den, 1 << 30);
}
- h->avctx->hwaccel = ff_find_hwaccel(h->avctx
->codec->id, h->avctx->pix_fmt
);
+ h->avctx->hwaccel = ff_find_hwaccel(h->avctx);
if (reinit)
free_tables(h, 0);
if (reinit)
free_tables(h, 0);