History

avcodec/fraps: remove extra new lines and not needed cast

Paul B Mahol committed 3 years ago

Commit 8cd2e0c1 parent 8042f651 file · +1 −4Browse files

Unified · Split

libavcodec/fraps.c+1−4
@@ -56,7 +56,6 @@ typedef struct FrapsContext { · 55 unmodified lines
56 int tmpbuf_size;56 int tmpbuf_size;
57} FrapsContext;57} FrapsContext;
58 58
59
60/**59/**
61 * initializes decoder60 * initializes decoder
62 * @param avctx codec context61 * @param avctx codec context
@@ -323,7 +322,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f, · 260 unmodified lines
323 return buf_size;322 return buf_size;
324}323}
325 324
326
327/**325/**
328 * closes decoder326 * closes decoder
329 * @param avctx codec context327 * @param avctx codec context
@@ -331,13 +329,12 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f, · 1 unmodified line
331 */329 */
332static av_cold int decode_end(AVCodecContext *avctx)330static av_cold int decode_end(AVCodecContext *avctx)
333{331{
334 FrapsContext *s = (FrapsContext*)avctx->priv_data;332 FrapsContext *s = avctx->priv_data;
335 333
336 av_freep(&s->tmpbuf);334 av_freep(&s->tmpbuf);
337 return 0;335 return 0;
338}336}
339 337
340
341const FFCodec ff_fraps_decoder = {338const FFCodec ff_fraps_decoder = {
342 .p.name = "fraps",339 .p.name = "fraps",
343 CODEC_LONG_NAME("Fraps"),340 CODEC_LONG_NAME("Fraps"),

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