File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v0.7.4
4+
5+ ### Bug Fixes
6+
7+ - Fixed incorrect bit shift in the macro converting FourCC code to a string
8+
39## v0.7.3
410
511### Bug Fixes
Original file line number Diff line number Diff line change 99
1010#include <stdint.h>
1111
12- #define ESP_FOURCC_VERSION ("v1.0.0 ")
12+ #define ESP_FOURCC_VERSION ("v1.0.1 ")
1313
1414/**
1515# Changelog
1616
17+ ## [v1.0.1]
18+ - Fixed incorrect bit shift in the macro converting FourCC code to a string
19+
1720## [v1.0.0]
1821 - Add audio, video and pixel format with fourcc(four character code)
1922*/
@@ -25,7 +28,7 @@ typedef uint32_t esp_fourcc_t; // 32-bit FOURCC code
2528// Convert 32-bit FOURCC to string
2629static inline void gmf_fourcc_to_str (uint32_t fourcc , char out [5 ]) {
2730 for (int i = 0 ; i < 4 ; i ++ ) {
28- out [i ] = (char )((fourcc >> (i * 4 )) & 0xFF );
31+ out [i ] = (char )((fourcc >> (i * 8 )) & 0xFF );
2932 }
3033 out [4 ] = '\0' ;
3134}
Original file line number Diff line number Diff line change 1- version : " 0.7.3 "
1+ version : " 0.7.4 "
22description : Espressif General Multimedia Framework (gmf-core) module
33url : https://github.com/espressif/esp-gmf/tree/main/gmf_core
44documentation : " https://github.com/espressif/esp-gmf/blob/main/gmf_core/README.md"
You can’t perform that action at this time.
0 commit comments