History

Merge commit 'f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed'

* commit 'f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed': h264dec: make ff_h264_decode_init() static

Clément Bœsch committed 9 years ago

Commit 20e72fa2 parents cb0eba7 f1af37b2 files · +3 −4Browse files

Unified · Split

2 files
  1. libavcodec/h264dec.c +3 −3
  2. libavcodec/h264dec.h +0 −1
libavcodec/h264dec.c+3−3
@@ -388,7 +388,7 @@ static av_cold int h264_decode_end(AVCodecContext *avctx) · 387 unmodified lines
388388
389389 static AVOnce h264_vlc_init = AV_ONCE_INIT;
390390
391−av_cold int ff_h264_decode_init(AVCodecContext *avctx)
391+static av_cold int h264_decode_init(AVCodecContext *avctx)
392392 {
393393 H264Context *h = avctx->priv_data;
394394 int ret;
@@ -1072,7 +1072,7 @@ AVCodec ff_h264_decoder = { · 677 unmodified lines
10721072 .type = AVMEDIA_TYPE_VIDEO,
10731073 .id = AV_CODEC_ID_H264,
10741074 .priv_data_size = sizeof(H264Context),
1075− .init = ff_h264_decode_init,
1075+ .init = h264_decode_init,
10761076 .close = h264_decode_end,
10771077 .decode = h264_decode_frame,
10781078 .capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
@@ -1100,7 +1100,7 @@ AVCodec ff_h264_vdpau_decoder = { · 21 unmodified lines
11001100 .type = AVMEDIA_TYPE_VIDEO,
11011101 .id = AV_CODEC_ID_H264,
11021102 .priv_data_size = sizeof(H264Context),
1103− .init = ff_h264_decode_init,
1103+ .init = h264_decode_init,
11041104 .close = h264_decode_end,
11051105 .decode = h264_decode_frame,
11061106 .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,
libavcodec/h264dec.h+0−1
@@ -571,7 +571,6 @@ int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb, · 570 unmodified lines
571571 const H2645NAL *nal, void *logctx);
572572
573573 void ff_h264_hl_decode_mb(const H264Context *h, H264SliceContext *sl);
574−int ff_h264_decode_init(AVCodecContext *avctx);
575574 void ff_h264_decode_init_vlc(void);
576575
577576 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t