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
5656 int tmpbuf_size;
5757 } FrapsContext;
5858
59−
6059 /**
6160 * initializes decoder
6261 * @param avctx codec context
@@ -323,7 +322,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f, · 260 unmodified lines
323322 return buf_size;
324323 }
325324
326−
327325 /**
328326 * closes decoder
329327 * @param avctx codec context
@@ -331,13 +329,12 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f, · 1 unmodified line
331329 */
332330 static av_cold int decode_end(AVCodecContext *avctx)
333331 {
334− FrapsContext *s = (FrapsContext*)avctx->priv_data;
332+ FrapsContext *s = avctx->priv_data;
335333
336334 av_freep(&s->tmpbuf);
337335 return 0;
338336 }
339337
340−
341338 const FFCodec ff_fraps_decoder = {
342339 .p.name = "fraps",
343340 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