| 108 | } |
| 109 | |
| 110 | AVFrame *av_frame_alloc(void) |
| 111 | { |
| 112 | AVFrame *frame = (AVFrame *)av_mallocz(sizeof(*frame)); |
| 113 | |
| 114 | if (!frame) |
| 115 | return NULL; |
| 116 | |
| 117 | get_frame_defaults(frame); |
| 118 | |
| 119 | return frame; |
| 120 | } |
| 121 | |
| 122 | |
| 123 | void av_frame_free(AVFrame **frame) |
no test coverage detected