Unified · Split
| @@ -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 decoder | 60 | * initializes decoder |
| 62 | * @param avctx codec context | 61 | * @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 decoder | 326 | * closes decoder |
| 329 | * @param avctx codec context | 327 | * @param avctx codec context |
| @@ -331,13 +329,12 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f, · 1 unmodified line | |||
| 331 | */ | 329 | */ |
| 332 | static av_cold int decode_end(AVCodecContext *avctx) | 330 | static 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 | |||
| 341 | const FFCodec ff_fraps_decoder = { | 338 | const FFCodec ff_fraps_decoder = { |
| 342 | .p.name = "fraps", | 339 | .p.name = "fraps", |
| 343 | CODEC_LONG_NAME("Fraps"), | 340 | CODEC_LONG_NAME("Fraps"), |