| 171 | } |
| 172 | |
| 173 | AVFrameSideData *ff_frame_side_data_add_from_buf(AVFrameSideData ***sd, |
| 174 | int *nb_sd, |
| 175 | enum AVFrameSideDataType type, |
| 176 | AVBufferRef *buf) |
| 177 | { |
| 178 | if (!buf) |
| 179 | return NULL; |
| 180 | |
| 181 | return add_side_data_from_buf_ext(sd, nb_sd, type, buf, buf->data, buf->size); |
| 182 | } |
| 183 | |
| 184 | static AVFrameSideData *replace_side_data_from_buf(AVFrameSideData *dst, |
| 185 | AVBufferRef *buf, int flags) |
no test coverage detected