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
49 int i;49 int i;
50 50
51 avctx->pix_fmt = PIX_FMT_PAL8;51 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
58 p = avctx->extradata;52 p = avctx->extradata;
59 if (p) {53 if (p) {
60 s->font_height = p[0];54 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