Showing the changes to libavdevice/decklink_common.cpp (1 of 2 files). Show all
Unified · Split
| @@ -286,7 +286,6 @@ int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direct · 285 unmodified lines | ||
| 286 | 286 | IDeckLinkDisplayModeIterator *itermode; |
| 287 | 287 | IDeckLinkDisplayMode *mode; |
| 288 | 288 | uint32_t format_code; |
| 289 | − int i=0; | |
| 290 | 289 | HRESULT res; |
| 291 | 290 | |
| 292 | 291 | if (direction == DIRECTION_IN) { |
| @@ -307,14 +306,14 @@ int ff_decklink_list_formats(AVFormatContext *avctx, decklink_direction_t direct · 14 unmodified lines | ||
| 307 | 306 | return AVERROR(EIO); |
| 308 | 307 | } |
| 309 | 308 | |
| 310 | − av_log(avctx, AV_LOG_INFO, "Supported formats for '%s':\n\tmode\tformat_code\tdescription", | |
| 309 | + av_log(avctx, AV_LOG_INFO, "Supported formats for '%s':\n\tformat_code\tdescription", | |
| 311 | 310 | avctx->filename); |
| 312 | 311 | while (itermode->Next(&mode) == S_OK) { |
| 313 | 312 | BMDTimeValue tb_num, tb_den; |
| 314 | 313 | mode->GetFrameRate(&tb_num, &tb_den); |
| 315 | 314 | format_code = av_bswap32(mode->GetDisplayMode()); |
| 316 | − av_log(avctx, AV_LOG_INFO, "\n\t%d\t%.4s\t\t%ldx%ld at %d/%d fps", | |
| 317 | − ++i, (char*) &format_code, mode->GetWidth(), mode->GetHeight(), | |
| 315 | + av_log(avctx, AV_LOG_INFO, "\n\t%.4s\t\t%ldx%ld at %d/%d fps", | |
| 316 | + (char*) &format_code, mode->GetWidth(), mode->GetHeight(), | |
| 318 | 317 | (int) tb_den, (int) tb_num); |
| 319 | 318 | switch (mode->GetFieldDominance()) { |
| 320 | 319 | case bmdLowerFieldFirst: |