History

bintext: remove unneeded get_buffer()

Michael Niedermayer committed 15 years ago

Commit fa2dbcd1 parent 07a70ca1 file · +0 −6Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/bintext.c+0−6
@@ -49,12 +49,6 @@ static av_cold int decode_init(AVCodecContext *avctx) · 48 unmodified lines
4949 int i;
5050
5151 avctx->pix_fmt = PIX_FMT_PAL8;
52− s->frame.reference = 1;
53− if (avctx->get_buffer(avctx, &s->frame)) {
54− av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
55− return -1;
56− }
57−
5852 p = avctx->extradata;
5953 if (p) {
6054 s->font_height = p[0];

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