Lines Matching refs:new_device
139 AVDeviceInfo *new_device = NULL;
144 new_device = av_mallocz(sizeof(AVDeviceInfo));
145 if (!new_device) {
150 new_device->device_description = av_strdup(description);
151 new_device->device_name = av_strdup(name);
153 if (!new_device->device_description || !new_device->device_name) {
159 &info->devices->nb_devices, new_device)) < 0) {
166 av_free(new_device->device_description);
167 av_free(new_device->device_name);
168 av_free(new_device);